uc
ErrorsCollection

uc

Synthesised documentation from type/Allomorph type/Cool type/Str

From type/Allomorph

See Original text in context

method uc(Allomorph:D:)

Calls Str.uc on the invocant's Str value.

From type/Cool

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␤»

From type/Str

See Original text in context

multi sub    uc(Str:D  --> Str:D)
multi method uc(Str:D: --> Str:D)

Returns an uppercase version of the string.