Lodash _.toUpper() Method
The _.toUpper() method is used to convert the entire string to Upper case. This method does not affect any of the special characters, digits, and the alphabets that are already in the upper case.
_.toUpper( [string = ''])
Parameters: This method accepts a single parameter as mentioned above and described below:
- string: This parameter holds the string to convert.
Return Value: This method returns the upper case string.