• Returns an array of values from an object based on an array of property paths.

    Parameters

    • obj: any

      Object to retrieve values from

    • props: string[]

      Array of paths into the object e.g., "data.values.webmap", where "data" is a top-level property

    Returns any

    Array of the values plucked from the object; only defined values are returned