Function mapKey

  • Type Parameters

    • R

    • S extends Record<string | number | symbol, any>

    • T = any

    Parameters

    • subject: S
    • predicate: ((this, key, index, obj, subject) => R)
        • (this, key, index, obj, subject): R
        • Parameters

          • this: T
          • key: keyof S
          • index: number
          • obj: (keyof S)[]
          • subject: S

          Returns R

    • Optional thisArg: T
      Optional

    Returns R[]

Generated using TypeDoc