See Original text in context
method uc(Allomorph:)
Calls Str.uc
on the invocant's Str
value.
See Original text in context
sub uc(Str(Cool))method uc()
Coerces the invocant (or in sub form, its argument) to Str, and returns it case-folded to upper case (capital letters).
say "Abc".uc; # OUTPUT: «ABC»
See Original text in context
multi sub uc(Str --> Str)multi method uc(Str: --> Str)
Returns an uppercase version of the string.