Documentation for routine uc assembled from the following pages:

Class: Allomorph §

From Allomorph

(Allomorph) method uc §

method uc(Allomorph:D:)

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

Class: Str §

From Str

(Str) routine uc §

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

Returns an uppercase version of the string.

Class: Cool §

From Cool

(Cool) routine uc §

Defined as:

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