Home / lang / is 
IS
Syntax
Result = Expression IS Class

Returns if an object is an instance of a class, or one of its descendants.

Example
PRINT ["Gambas", "rules!"] IS String[]

True
Example
DIM myTextBox AS NEW TextBox(ME)

PRINT myTextBox IS Control

True
Example
PRINT ["Gambas", "rules!"] IS Collection

False


See also
Object & Class Management