In Metamodel::Primitives§

See primary documentation in context for method create type

method create_type(Mu $how$repr = 'P6opaque')

Creates and returns a new type from a metaobject $how and a representation name.