TolliumComponentBase::IsPartOf (open)

Is this component a subcomponent of a given component?

Syntax

LOADLIB "mod::tollium/lib/componentbase.whlib";

BOOLEAN FUNCTION IsPartOf(OBJECT comp)

Parameters

OBJECT comp

Return value

BOOLEAN

Description

This function returns if this object is equal to the given object or if it is a direct or indirect subcomponent of the object. This does not check for parent-child relations, only for components marked as subcomponents.