Function: findIndex()
findIndex<
T>(source,predicate):number
Same semantics as Array.prototype.findIndex, over a single Container.
Consumes elements until a match.
Type Parameters
Section titled “Type Parameters”T
Parameters
Section titled “Parameters”source
Section titled “source”Source<T>
predicate
Section titled “predicate”(value, index) => boolean
Returns
Section titled “Returns”number