Skip to content

Alias#

Introduction#

An Alias allows you to create a synonym for a previously declared type.

1
Alias Identifier : Type

You can use your newly declared Alias instead of the original type anywhere in your code. For example:

1
2
3
4
5
Alias FantasticNumber:Int
Alias FantasticString:String

Local myInt:FantasticNumber = 123
Local myString:FantasticString = "abc"