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

Method isLowSurrogate

lib/java/lang/Character.java:2092–2094  ·  view source on GitHub ↗

Indicates whether ch is a low- (or trailing-) surrogate code unit that is used for representing supplementary characters in UTF-16 encoding. @param ch the character to test. @return true if ch is a low-surrogate code unit; false otherwise. @see #is

(char ch)

Source from the content-addressed store, hash-verified

2090 * @since 1.5
2091 */
2092 public static boolean isLowSurrogate(char ch) {
2093 return (MIN_LOW_SURROGATE <= ch && MAX_LOW_SURROGATE >= ch);
2094 }
2095
2096 /**
2097 * Indicates whether the specified character pair is a valid surrogate pair.

Callers 3

isSurrogatePairMethod · 0.95
codePointCountMethod · 0.95
offsetByCodePointsMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected