Skip to main content

Function: isChildOfParent()

function isChildOfParent(child, parent): boolean;

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

Parameters​

ParameterTypeDescription
childobjectTarget object.
parentobjectParent object.

Returns​

boolean