Skip to main content

Function: isParentOfChild()

function isParentOfChild(parent, child): boolean;

Returns if the target is a "parent" that has in its tree the given "child" object.

Parameters​

ParameterTypeDescription
parentobjectTarget object.
childobjectChild object.

Returns​

boolean