TYPE-OF function
Verifies that the class instance to which the specified object reference points is an instance of the specified object type, inherits from the specified super class, or implements the specified interface. If the object reference points to an instance of the specified type, the function returns TRUE. Otherwise, it returns FALSE.
Syntax
object-reference
object-type-name
Specifies the type name of a class, a super class, or an interface that might be defined, inherited from, or implemented (respectively) by the object referenced byobject-reference
. Specify the object type name using the syntax described in the Type-name syntax reference entry. With an appropriate USING statement, you can also specify an unqualified class or interface name alone.See also
OpenEdge Release 10.2B
|