• Creates an array of elements corresponding to the given keys, or indexes, of collection. Keys may be specified as individual arguments or as arrays of keys.

    Type Parameters

    • T


    • object: undefined | null | Dictionary<T> | NumericDictionary<T>

      The object to iterate over.

    • Rest ...props: PropertyPath[]

      The property names or indexes of elements to pick, specified individually or in arrays.

    Returns T[]

    Returns the new array of picked elements.

  • Type Parameters

    • T extends object


    • object: undefined | null | T
    • Rest ...props: Many<keyof T>[]

    Returns T[keyof T][]



Generated using TypeDoc