Declarations
Declarations introduce names into a Motoko program. This section covers the full set of declaration forms: variable and type bindings, functions, classes, modules, and object literals, including the rules around scope and recursion.
Skip to contentFor AI agents: Documentation index at /llms.txt
Declarations introduce names into a Motoko program. This section covers the full set of declaration forms: variable and type bindings, functions, classes, modules, and object literals, including the rules around scope and recursion.