findPath()
Find the path to a specific value based on a callback function.
This function is valid in v2.17.0 to v2.24.3. This function has been downloaded 50 times.callback
.base
and traversing all of its descendants. The arguments passed will be (1) the value be inspected, (2) the path as an array to that value and (3) a reference to base
. If this function returns a true
-ish value then execution will stop and the path to this value will be returned.3000
undefined
.base
. If the desired value is not found in the allotted time undefined
is returned. In all other cases false
is returned.