MCPcopy Create free account
hub / github.com/SeleniumHQ/selenium / isDigit

Method isDigit

java/src/org/openqa/selenium/json/JsonInput.java:303–305  ·  view source on GitHub ↗
(int c)

Source from the content-addressed store, hash-verified

301 }
302
303 private static boolean isDigit(int c) {
304 return c >= '0' && c <= '9';
305 }
306
307 private static String describeChar(int c) {
308 return c == Input.EOF ? "<EOF>" : "'" + (char) c + "'";

Callers 4

nextNumberMethod · 0.95
cssEscapeMethod · 0.80
cssEscapeMethod · 0.80
isAllDigitsMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected