lc
ErrorsCollection

lc

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

From type/Allomorph

See Original text in context

method lc(Allomorph:D:)

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

From type/Cool

See Original text in context

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

From type/Str

See Original text in context

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