MCPcopy Create free account
hub / github.com/jwtk/jjwt / isArray

Method isArray

api/src/main/java/io/jsonwebtoken/lang/Objects.java:89–91  ·  view source on GitHub ↗

Returns true if the specified argument is an Object or primitive array, false otherwise. @param obj the object instance to check @return true if the specified argument is an Object or primitive array, false otherwise.

(Object obj)

Source from the content-addressed store, hash-verified

87 * @return {@code true} if the specified argument is an Object or primitive array, {@code false} otherwise.
88 */
89 public static boolean isArray(Object obj) {
90 return (obj != null && obj.getClass().isArray());
91 }
92
93 /**
94 * Returns {@code true} if the specified argument:

Callers 8

getMethod · 0.95
copyMethod · 0.95
toJSONInstanceMethod · 0.95
applyFromMethod · 0.80
isEmptyMethod · 0.80
toObjectArrayMethod · 0.80
nullSafeEqualsMethod · 0.80
nullSafeHashCodeMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected