Type alias IndexedSelector<T, TOut>

IndexedSelector<T, TOut>: ((x: T, i: number) => TOut)

Type Parameters

  • T

  • TOut

Type declaration

    • (x: T, i: number): TOut
    • Defines a selector that takes a value x:T and number that represents the position of x in whichever sequence it is applied to and transforms that T into a TOut

      Example

      {@link _map}
      

      Parameters

      • x: T
      • i: number

      Returns TOut

Generated using TypeDoc