index
index<
A>(i):Optional<A[],A>
Defined in: Core/Optional.ts:82
Creates an Optional that focuses on an element at a given index in an array. Returns None when the index is out of bounds; set is a no-op when out of bounds.
Type Parameters
Section titled “Type Parameters”A
Parameters
Section titled “Parameters”number
Returns
Section titled “Returns”Optional<A[], A>