See Original text in context
method routine-type(--> Str:D)
Returns a string describing the type of routine that was declared, for example "sub" or "method".
"sub"
"method"