This page is not available in the language you have chosen. It will be displayed in English by default. If you would like to view it in a different language, you can try selecting another language.
There are several ways you can work with types in Verse, shown in the pages below.
Type Casting and Conversion
Use type casting to convert from one data type to another.
Type Aliasing
You can use a type alias to give a type a unique name without creating a new type.
Parametric Types
Use parametric types as explicit type arguments to classes or functions, or as implicit type arguments to functions.
Type Macro
The type macro allows you to get the type of an expression. It can be used anywhere a type can be used.