Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

how to make a check if 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
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #check #letters #capital #discord #js
ADD COMMENT
Topic
Name
5+5 =