reCT

The only ByteSpace Project big enough to have its
own Website

Is Operator

The Is Operator exists to check if an Instance of an Abstract Class is of a certain Inheriting Classes type.
For example: Image you have an Array of type "someAbstractClass" that holds instances of both "someInheritingClass" and "someOtherInheritingClass" the Is Operator is how you can tell them apart:

var instances <- make someAbstractClass array(100);

from (i <- 0) to instances->GetLength() - 1
{
  if (instances[i] is someInheritingClass)
    // do something
  else if (instances[i] is someOtherInheritingClass)
    // do something else
}