ixfx
    Preparing search index...
    • Returns any parent of child that has value possibleParentValue. Returns undefined if not found.

      Type Parameters

      Parameters

      • child: T

        Child being sought

      • possibleParentValue: TV

        Value of possible parent of child

      • eq: IsEqual<TV> = ...

        Equality comparison function isEqualDefault used by default

      • maxDepth: number = 0

        Maximum depth of traversal. Default of 0 only looks for immediate parent.

      Returns T | undefined