Returns true if prospectiveChild is some child node of parent, anywhere in the tree structure.

Use hasChild to only check immediate children.

  • Type Parameters

    • T

    Parameters

    Returns boolean