invocant
ErrorsCollection

invocant

Synthesised documentation from type/X/Method/InvalidQualifier type/Parameter

From type/X/Method/InvalidQualifier

See Original text in context

Returns the invocant of the failed, qualified method call

From type/Parameter

See Original text in context

method invocant(Parameter:D: --> Bool:D)

Returns True if the parameter is the invocant parameter.

my Signature $sig = :($i : Str $x is rwBool :$is-named);
say $sig.params[0].invocant;                       # OUTPUT: «True␤» 
say $sig.params[1].invocant;                       # OUTPUT: «False␤»