at
_.at(paths, object)
# Ⓢ [Ⓣ][1] Ⓝ
Creates an array of values corresponding to paths of object.
Since
1.0.0
Arguments
paths(string|string[]): The property paths to pick.object(Object): The object to iterate over.
Returns
(Array): Returns the picked values.
Example
var object = { 'a': [{ 'b': { 'c': 3 } }, 4] };
_.at(['a[0].b.c', 'a[1]'], object);
// => [3, 4]