Returns true if prospectiveChild is some child node of parent, anywhere in the tree structure.
prospectiveChild
parent
Use hasChild to only check immediate children.
Returns true if
prospectiveChild
is some child node ofparent
, anywhere in the tree structure.Use hasChild to only check immediate children.