isUpper

Syntax

isUpper(X)

Arguments

X is a STRING scalar or vector.

Details

Check whether all the case-based characters (letters) of the string are uppercase.

Examples

isUpper("THIS IS STRING EXAMPLE....WOW!!!");
// output
true

isUpper("THIS is string example....wow!!!");
// output
false

isUpper("123456ABC");
// output
true

isUpper("123");
// output
false

isUpper(["  ",string()]);
// output
[false,false]

Related functions: isLower, isTitle