MCPcopy Index your code
hub / github.com/apache/tomcat / isNumber

Method isNumber

java/org/apache/el/lang/ELArithmetic.java:440–442  ·  view source on GitHub ↗

Check if the given object is a number. @param obj The object to check @return true if the object is a number

(final Object obj)

Source from the content-addressed store, hash-verified

438 * @return true if the object is a number
439 */
440 public static boolean isNumber(final Object obj) {
441 return (obj != null && isNumberType(obj.getClass()));
442 }
443
444 /**
445 * Check if the given class is a number type.

Callers 3

coerceToCharacterMethod · 0.95
coerceToNumberMethod · 0.95
coerceMethod · 0.95

Calls 1

isNumberTypeMethod · 0.95

Tested by

no test coverage detected