@nevware21/ts-utils
    Preparing search index...

    Type Alias ArrMapCallbackFn<T, R>

    ArrMapCallbackFn: (value: T, index?: number, array?: T[]) => R

    Callback signature for arrMap that is called for every element of array. Each time callbackFn executes, the returned value is added to newArray.

    Type Parameters

    • T

      Identifies the type of the array elements

    • R = T

      Identifies the type of the elements returned by the callback function, defaults to T.

    Type declaration

      • (value: T, index?: number, array?: T[]): R
      • Parameters

        • value: T

          The current element being processed in the array.

        • Optionalindex: number

          The index of the current element being processed in the array.

        • Optionalarray: T[]

          The array that the map function was called on.

        Returns R

    0.3.3