See Original text in context
method suffix(Parameter: --> Str)
Returns the ?
or !
marker a parameter was declared with, if any. Otherwise, returns the empty string.
my Signature = :(, ?);say .params[0].suffix; # OUTPUT: «»say .params[1].suffix; # OUTPUT: «?»my Signature = :(:!, :);say .params[0].suffix; # OUTPUT: «!»say .params[1].suffix; # OUTPUT: «»