Creates an array of values corresponding to paths of object.
paths
object
5.5.0
const object = { 'a': [{ 'b': { 'c': 3 } }, 4] }at(object, ['a[0].b.c', 'a[1]'])// => [3, 4] Copy
const object = { 'a': [{ 'b': { 'c': 3 } }, 4] }at(object, ['a[0].b.c', 'a[1]'])// => [3, 4]
The object to iterate over.
The property paths to pick.
Returns the picked values.
Rest
Creates an array of values corresponding to
paths
ofobject
.Since
5.5.0
Example