find-deep
v0.0.1
Published
Array.find for nested objects
Downloads
6
Maintainers
Readme
find-deep
Array.find for nested values
USAGE
const findDeep = require('find-deep');
let object = {a:[{b: {c: 'Hello world!' }}]};
let result = findDeep(object, (value, key) =>
key == 'c'
);
result // 'Hello world!'