• 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

    Parameters

    • 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

    Parameters

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

    Returns T[keyof T][]

    _.at