Transform to lowercase.
Install
Install all functions of strman
yarn add strman
or just the toLowerCase function
yarn add strman.tolowercase
Usage
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.'