UNPKG

@hclsoftware/secagent

Version:

IAST agent

11 lines (9 loc) 292 B
import getFindDeep from './getFindDeep.js'; export default function getFindPathDeep(_) { const findDeep = getFindDeep(_); function findPathDeep(obj, predicate, options) { const res = findDeep(obj, predicate, options); return res && res.context.path; } return findPathDeep; }