• Preparing search index...
  • The search index is not available
Vinyl
  • Vinyl
  • @amzn/vinyl-util
  • map

Function map

  • map<T, U>(arrayLike, transform, thisArg?): U[]
  • map on ArrayLike objects.

    Type Parameters

    • T
    • U

    Parameters

    • arrayLike: ArrayLike<T>
    • transform: ((value: T, index: number, array: ArrayLike<T>) => U)
        • (value, index, array): U
        • Parameters

          • value: T
          • index: number
          • array: ArrayLike<T>

          Returns U

    • OptionalthisArg: any

    Returns U[]

    See

    https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/map

    • Defined in util/collection/array.ts:72

Settings

Member Visibility
Vinyl
  • Loading...

Generated using TypeDoc