Method declarations
A method is a function bound to an identifier within a type.
It can be referenced in the form TYPE.NAME
or RECEIVER.NAME
, where receiver is an instance of the type.
Methods can be defined on any userspace type.
Methods can be defined on stored values of a type.
Methods can be defined on a list of a type.