Answers for "how to make a check if 50% of letters are capital in discord js"

0

how to make a check if 50% of letters are capital in discord js

var test = "HELLO";
var upper = test.toUpperCase();

return test === upper; // true

// other example

var test = "Hello";
var upper = test.toUpperCase();

return test === upper; // false
Posted by: Guest on June-06-2021

Code answers related to "how to make a check if 50% of letters are capital in discord js"

Code answers related to "Javascript"

Browse Popular Code Answers by Language