Transform to uppercase.
Install
Install all functions of strman
yarn add strman
or just the toUpperCase function
yarn add strman.touppercase
Usage
import { toUpperCase } from 'strman'
// OR
import toUpperCase from 'strman.touppercase'
Parameters:
Name | Type | Description |
---|---|---|
value |
String | The String! |
- Source:
Returns:
String in uppercase.
- Type
- String
Example
const title = 'A Javascript string manipulation library.'
toUpperCase(title)
// => 'A JAVASCRIPT STRING MANIPULATION LIBRARY.'