isUppercaseLetter()function

isUppercaseLetter(str: string): boolean
ParamType
strstring
The string whose first character is tested. required
Return
boolean
true if the first character of str is an uppercase A–Z letter, otherwise false.

Is the first character of a string an uppercase letter?