MCPcopy Create free account
hub / github.com/davidgiven/luje / isLetter

Method isLetter

lib/java/lang/Character.java:3231–3240  ·  view source on GitHub ↗

Indicates whether the specified character is a letter. @param c the character to check. @return true if c is a letter; false otherwise.

(char c)

Source from the content-addressed store, hash-verified

3229 * @return {@code true} if {@code c} is a letter; {@code false} otherwise.
3230 */
3231 public static boolean isLetter(char c) {
3232 if (('A' <= c && c <= 'Z') || ('a' <= c && c <= 'z')) {
3233 return true;
3234 }
3235// if (c < 128) {
3236 return false;
3237// }
3238// int type = getType(c);
3239// return type >= UPPERCASE_LETTER && type <= OTHER_LETTER;
3240 }
3241
3242 /**
3243 * Indicates whether the specified code point is a letter.

Callers 1

isAbsoluteMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected