Returns an object with a single property found in obj at path
obj
path
getPropertyAtPath({a: {x:1}, b: {y: 5, z: 6} }, 'b') // returns {b: {y: 5, z: 6}}
The object that contains the property we want to return
Path to the property
Property found in obj at path
Creates an object composed of the picked object properties.
pick({ 'a': 1, 'b': '2', 'c': 3 }, ['a'. 'c']) // returns { 'a': 1, 'c': 3 }
The object to pick data from
An array of paths to pick off obj
Key value pairs found in obj from paths
paths
Generated using TypeDoc
Returns an object with a single property found in
obj
atpath
getPropertyAtPath({a: {x:1}, b: {y: 5, z: 6} }, 'b') // returns {b: {y: 5, z: 6}}