In X::Method::NotFound§

See primary documentation in context for method typename

method typename(--> Str:D)

Returns the name of the invocant type.

In X::Assignment::RO§

See primary documentation in context for method typename

method typename(X::Assignment::RO:D: --> Str)

Returns the type name of the value on the left-hand side