Transforms the first character to lowercase.

Type signature

(text: string) => string

Examples

firstToLower("TeSt");
// ⇒ "teSt"
Try in REPL

Questions

  • How to make the first letter of a string lowercase?

TypeScript sourceJavaScript source