index-from ( obj i seq -- n )
Factor handbook > The language > Collections > Sequence operations > Searching sequences

Prev:index ( obj seq -- n )
Next:last-index ( obj seq -- n )


Inputs and outputs
objan object
ia start index
seqa sequence
nan index

Word description
Outputs the index of the first element in the sequence equal to obj, starting the search from the ith element. If no element is found, outputs f.

See also
index, last-index, last-index-from, sorted-index