tclc
ErrorsCollection

tclc

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

From type/Allomorph

See Original text in context

method tclc(Allomorph:D:)

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

From type/Cool

See Original text in context

sub tclc(Str(Cool))
method tclc()

Coerces the invocant (or in sub form, its argument) to Str, and returns it with the first letter case-folded to title case (or where not available, upper case), and the rest of the string case-folded to lower case.

say 'abC'.tclc;     # OUTPUT: «Abc␤»

From type/Str

See Original text in context

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

Turns the first character to title case, and all other characters to lower case