Chapter 11 : Type Aliases

Type Aliases

Type aliases are alternate names given to an existing datatype.

What is a Type aliases

We can define a alias using typealias keyword

Syntax : typealias myAlias = DataType

Type Aliases can be used when you refer to existing datatypes that you want to rename to more appropriate one,