1 var toString = require('./toString');
4 * Converts `string`, as a whole, to upper case.
9 * @param {string} [string=''] The string to convert.
10 * @returns {string} Returns the upper cased string.
13 * _.toUpper('--foo-bar');
16 * _.toUpper('fooBar');
19 * _.toUpper('__foo_bar__');
22 function toUpper(value) {
23 return toString(value).toUpperCase();
26 module.exports = toUpper;