Skip to main content

Types

Reference for mo:core/Types in the core library.

Types centralizes aliases and structural records shared across the core library: iterator shape, ordering, runtime aliases, mutable-map layout, pure-map layout, and stack records. Import it when a module needs shared structural types rather than a concrete implementation API.

Import

mo:core/Types

Status

  • Runtime module

Public API

Types

  • Iter, Order, Blob, Error, ErrorCode, Hash, Time, Duration, TimerId, Region, Bool, Char, Text, Pattern, Stack

Modules

  • Map, Pure, Stack

Summary

  • Runtime module under mo:core/Types.