xdash API Reference / lowerCase
Function: lowerCase()
lowerCase(
str
):string
Defined in: src/string.ts:113
Converts a string to lower case
Parameters
str
string
string to convert
Returns
string
the string in lower case
Example
ts
lowerCase('FOO') // returns 'foo'
lowerCase('foo') // returns 'foo'
lowerCase('123') // returns '123'
lowerCase('') // returns ''