Simstim

VEX Dictionary / findsorted

findsorted

Binary-searches a sorted array for a target value's first occurrence, faster than find.

group: arrayarray

Available in every context

Usage

int findsorted(<type> array[]; <type> target)
int findsorted(<type> array[]; <type> target; int start)
int findsorted(<type> array[]; <type> target; int start; int end)

Examples

No worked examples yet.

Signatures (from vcc -X)

Related

Full SideFX documentation ↗