Function map

  • Type Parameters

    • T
    • R

    Parameters

    • project: ((value, index) => R)
        • (value, index): R
        • Parameters

          • value: T
          • index: number

          Returns R

    Returns OperatorFunction<T, R>

  • Type Parameters

    • T
    • R
    • A

    Parameters

    • project: ((this, value, index) => R)
        • (this, value, index): R
        • Parameters

          • this: A
          • value: T
          • index: number

          Returns R

    • thisArg: A

    Returns OperatorFunction<T, R>

    Deprecated

    Use a closure instead of a thisArg. Signatures accepting a thisArg will be removed in v8.