4.17.11
3.10.1
2.4.2
1.3.1
_.upperCase([string=''])
Converts string
, as space separated words, to upper case.
Since
4.0.0
Arguments
argument
[string='']
type
string
description
The string to convert.
Returns
(array)
Example
_.upperCase("--foo-bar");
// => 'FOO BAR'
_.upperCase("fooBar");
// => 'FOO BAR'
_.upperCase("__foo_bar__");
// => 'FOO BAR'
_.upperCase("--foo-bar");
// => 'FOO BAR'
_.upperCase("fooBar");
// => 'FOO BAR'
_.upperCase("__foo_bar__");
// => 'FOO BAR'