IsChild

Description: Identify Child Module. This function returns an indication of whether one module is a child module of another.
Returns: Boolean
Usage: Script Only.
Function Groups: Basic Module
Related to:  
Format: IsChild(Child, Parent)
Parameters:  
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(read1 { Read module object value }, 
  driver { I/O driver module object value }); 
]

The variable isMember will be set to true if the object read1 is a child of (defined within) the object driver.