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

Method isDigit

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

Source from the content-addressed store, hash-verified

378 }
379
380 private static boolean isDigit(int c) {
381 return c >= '0' && c <= '9';
382 }
383
384 /** Powers of ten that are exactly representable as doubles. */
385 private static final double[] POW_10 = {

Callers 3

readNumberLexemeMethod · 0.95
toEnumConstantMethod · 0.80
isAllDigitsMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected