alias
A type alias introduces another name without creating a JVM type.
Example.kalm
kalm
alias Name = Text
alias Names<T> = List<T>
pub fun greeting(name: Name) -> Text = @"Hello, $name!"A type alias introduces another name without creating a JVM type.
alias Name = Text
alias Names<T> = List<T>
pub fun greeting(name: Name) -> Text = @"Hello, $name!"