Function isChildOfParent

  • Returns if the target is a "child" of the tree of the given "parent" object.

    Parameters

    • child: object

      Target object.

    • parent: object

      Parent object.

    Returns boolean