UNPKG

@hclsoftware/secagent

Version:

IAST agent

15 lines (11 loc) 326 B
'use strict'; var getFindDeep = require('./getFindDeep.js'); function getFindPathDeep(_) { var findDeep = getFindDeep(_); function findPathDeep(obj, predicate, options) { var res = findDeep(obj, predicate, options); return res && res.context.path; } return findPathDeep; } module.exports = getFindPathDeep;