lowercase
Converts the input string to lowercase.
lowercase
Converts the input string to lowercase.
Type: transform
Aliases
lower
Parameters
- input (unknown): The input to convert to lowercase. Non-string inputs are converted to JSON string first.
Returns
Type: string
The lowercase string.
Examples
lowercase("HELLO") // "hello"
"HELLO WORLD"|lowercase // "hello world"