IsChild
(Engine-Level Function)
Child |
Required. Any expression that returns an object or module value. |
Parent |
Required. Any expression that returns an object or module value. |
Comments: | This function returns true if Child is a descendant module of Parent, false if it isn't, and invalid if either, or both arguments are invalid or not module or object values. |
Example:
If ! Valid(IsMember); [ IsMember = IsChild(ReadModule { Read module object value }, Driver { I/O driver module object value }); ]
The variable isMember will be set to true if the object ReadModule is a child of (defined within) the object driver.