Documentation for routine lc assembled from the following pages:

Class: Allomorph §

From Allomorph

(Allomorph) method lc §

method lc(Allomorph:D:)

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

Class: Str §

From Str

(Str) routine lc §

Defined as:

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

Returns a lower-case version of the string.

Examples:

lc("A"); # OUTPUT: «"a"» 
"A".lc;  # OUTPUT: «"a"»

Class: Cool §

From Cool

(Cool) routine lc §

Defined as:

sub lc(Str(Cool))
method lc()

Coerces the invocant (or in sub form, its argument) to Str, and returns it case-folded to lower case.

say "ABC".lc;       # OUTPUT: «abc␤»