xdashReadme | API


xdash / lowerCase

Function: lowerCase()

lowerCase(str): string

Converts a string to lower case

Parameters

str: string

string to convert

Returns

string

the string in lower case

Example

lowerCase('FOO') // returns 'foo'
lowerCase('foo') // returns 'foo'
lowerCase('123') // returns '123'
lowerCase('') // returns ''

Source

str.ts:113