pickIndex
pickIndex<
T>(items):number
Defined in: src/secure.ts:218
The index of one element.
Type Parameters
Section titled “Type Parameters”T
Parameters
Section titled “Parameters”Collection<T>
Returns
Section titled “Returns”number
Example
Section titled “Example”pickIndex(["a", "b", "c"]); // 2