2.30 :parent_of()
This method examines if the object is a direct or indirect parent of a particular child object, i.e. if the object may be accessed through recursive queries of .parent starting from the child object.
Definition
boolean :parent_of
(
object Child input
)
Parameters
- object Child input
- The child object that shall be searched among the children of the object.
Return value
The method returns true if the object given in the Child parameter is a direct or indirect child of the object, false otherwise.
See also
Attribut