• Focuses to the given index of array.

    Type Parameters

    • const I extends number

    • Tuple extends readonly unknown[]

    • V = Tuple[I]

    Parameters

    • index: I

      The index of array to extract.

    Returns Optic<Tuple, Tuple, Tuple[I], V>

    The lens for indexing.

Generated using TypeDoc