Creates an array of values corresponding to paths of object.
paths
object
1.0.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.
Optional
The property paths to pick.
Returns the picked values.
Creates an array of values corresponding to
paths
ofobject
.Since
1.0.0
Example