See Original text in context
method type(--> Mu)
See Original text in context
method type(X::Does::TypeObject: --> Mu)
Returns the type object into which the code tried to mix in a role.
See Original text in context
method type(X::Bind::Slice:)
returns the type object of the thing that you tried to slice-bind, for example Array, List or Hash.
See Original text in context
Returns the nominal type constraint of the parameter.
See Original text in context
method type(Attribute: --> Mu)
Returns the type constraint of the attribute.
my = TypeHouse.^attributes(:local)[0..2];for 0..2# OUTPUT: «(Positional[Int])# (Mu)# (Positional)»