Transform to uppercase.
Install
Install all functions of strman
yarn add strmanor just the toUpperCase function
yarn add strman.touppercaseUsage
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.'