Types

We can declare a new type alias as follow:

type aNewType = int option;

Cast from an any type to a specific one:

([]: int list)

Last updated