Product Information > JADE Developer’s Reference > Chapter 1 - JADE Language Reference > Type Guard Expression
Type Guard Expression

The syntax of the type guard expression is:

object-reference-expression.class-name

When a type guard is applied to an object reference, the reference is treated as a reference to an instance of the class specified by the class‑name value. If the expression is not of class class‑name, a runtime exception is raised.

For more details, see "Using Type Guards", in the following subsection.