Returns true if child is parented at any level (grand-parented etc) by possibleParent

  • Type Parameters

    Parameters

    • child: T

      Child being sought

    • possibleParent: T

      Possible parent of child

    • Optionaleq: IsEqual<T>

      Equality comparison function isEqualDefault used by default

    Returns boolean