10 examples of 'jquery uppercase' in JavaScript

Every line of 'jquery uppercase' code snippets is scanned for vulnerabilities by our powerful machine learning engine that combs millions of open source libraries, ensuring your JavaScript code is secure.

All examples are scanned by Snyk Code

By copying the Snyk Code Snippets you agree to
12function isUppercase(str) {
13 (0, _assertString.default)(str);
14 return str === str.toUpperCase();
15}
14function isUppercase(str) {
15 (0, _assertString2.default)(str);
16 return str === str.toUpperCase();
17}
55function isUpperCase (text) {
56 if (typeof text === 'string' && text) {
57 return text.toUpperCase() === text
58 }
59}
48function convert_uppercase(input) {
49 // store current positions in variables
50 var start = input.selectionStart,
51 end = input.selectionEnd;
52
53 input.value = input.value.toUpperCase();
54
55 // restore from variables...
56 input.setSelectionRange(start, end);
57}
3function isUpperCase(char) {
4 return char.toUpperCase() === char;
5}
23uppercase(str: string) {
24 return str.toUpperCase()
25}
167function isUpperCase(name) {
168 return name === name.toUpperCase();
169}
3function upperCaseFirst(str) {
4 str += '';
5 var first = str.charAt(0).toUpperCase();
6 return first + str.substr(1);
7}
3export function upperCase(params) {
4 return (params[0]||'').toUpperCase();
5}
212function toUpperCase(str) {
213 return str instanceof String ? str.toUpperCase() : str
214}

Related snippets