Documentation for method invocant
assembled from the following pages:
Class: X::Method::InvalidQualifier §
From X::Method::InvalidQualifier
(X::Method::InvalidQualifier) method invocant §
Returns the invocant of the failed, qualified method call
Class: Parameter §
From Parameter
(Parameter) method invocant §
Defined as:
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»