21.6.1 type

The type directive allows you to declare named types. The syntax is:

type name = type [, name = type]...;

where name is the name of the new type, and type is either a type specifier or the name of some other type.

The supported type specifiers are:

int<n>, uint<n>

Integral types. See Integer Types.

string

The string type. See String Types.

type[boundary]

Array types. See Array Types.

struct { … }

Struct types. See Struct Types.

(type,…)type:

Function types. See Function Types.

any

The any type is used to implement polymorphism. See The any Type.