TypesThis section explores Motoko’s rich and expressive type system.Primitive typesShared typesFunctionTuplesRecordsObjects & classesVariantsImmutable arraysMutable arraysOptionsResultsStable typesAdvanced typesSubtypingType conversionsWas this helpful?