LOTUSSCRIPT LANGUAGE
Syntax
obj IsA objName
Elements
obj
The result of the IsA operator is TRUE if obj is of the class objName or a class derived from objName.
Obj can be a native (user defined) object, a product object, or an OLE object.
Obj can be a Variant variable, an object reference variable, or any variable element that accepts an object reference, such as an element of an array, list, or user-defined type or class. Obj can be an expression, for example, a function that returns an object or array of objects.
ObjName represents the class that is visible in the current scope if the class name defines more than one class.
Example
Sub PrintIt(objA) If objA IsA "ClassA" Then objA.Print Else Print "Not a ClassA object" End If End Sub
See Also