positional
ErrorsCollection

positional

Synthesised documentation from type/Parameter

From type/Parameter

See Original text in context

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

Returns True if the parameter is named parameter.

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