In Parameter§
See primary documentation in context for method invocant
method invocant(Parameter: --> Bool)
Returns True
if the parameter is the invocant parameter.
my Signature = :( : Str is rw, Bool :);say .params[0].invocant; # OUTPUT: «True»say .params[1].invocant; # OUTPUT: «False»
In X::Method::InvalidQualifier§
See primary documentation in context for method invocant
Returns the invocant of the failed, qualified method call