Skip to content

as

The as keyword is a type casting operator used to convert types.

Syntax

myVariable as int32;

Example Code

int16 myVariable = 7;
int32 wider = myVariable as int32;