Transform to lowercase.
Install
Install all functions of strman
yarn add strmanor just the toLowerCase function
yarn add strman.tolowercaseUsage
import { toLowerCase } from 'strman'
// OR
import toLowerCase from 'strman.tolowercase'Parameters:
| Name | Type | Description |
|---|---|---|
value |
String | The String! |
- Source:
Returns:
String in lowercase.
- Type
- String
Example
const title = 'A Javascript string manipulation library.'
toLowerCase(title)
// => 'a javascript string manipulation library.'