isInstanceOf()
This function determines if the given instance of a class is an instance of a specific class. Additionally it can be used to check if an enum is of a specific enum-type.
Synopsis
bool isInstanceOf( class|enum instance, string typeName);
Parameters
Parameter | Description |
---|---|
instance | instance or enum to be checked |
typeName | Name of a class or enum-type |
Return value
"TRUE" when the given class instance or enum in "instance" is an instance of the class or of the same enum-type as specified in "typeName".
Error
-
Assignment
Miscellaneous functions
Availability
CTRL