Returns any parent of child that has value possibleParentValue. Returns undefined if not found.
child
possibleParentValue
Child being sought
Value of possible parent of child
Equality comparison function isEqualDefault used by default
Maximum depth of traversal. Default of 0 only looks for immediate parent.
Returns any parent of
childthat has valuepossibleParentValue. Returns undefined if not found.