1 var toString = require('./toString');
4 * Converts `string`, as a whole, to upper case just like
5 * [String#toUpperCase](https://mdn.io/toUpperCase).
11 * @param {string} [string=''] The string to convert.
12 * @returns {string} Returns the upper cased string.
15 * _.toUpper('--foo-bar--');
18 * _.toUpper('fooBar');
21 * _.toUpper('__foo_bar__');
24 function toUpper(value) {
25 return toString(value).toUpperCase();
28 module.exports = toUpper;