Space Station 13 - Modules - Types — Proc Details

sort_instance

Procs

gallopRightLike gallopLeft, except that if the range contains an element equal to key, gallopRight returns the index after the rightmost equal element.

Proc Details

gallopRight

Like gallopLeft, except that if the range contains an element equal to key, gallopRight returns the index after the rightmost equal element.

Returns the int k, 0 <= k <= n such that a[b + k - 1] <= key < a[b + k].

Arguments: