MCPcopy Index your code
hub / github.com/assertj/assertj / isArray

Method isArray

src/main/java/org/assertj/core/util/Arrays.java:39–41  ·  view source on GitHub ↗

Indicates whether the given object is not null and is an array. @param o the given object. @return true if the given object is not null and is an array, otherwise false.

(Object o)

Source from the content-addressed store, hash-verified

37 * @return {@code true} if the given object is not {@code null} and is an array, otherwise {@code false}.
38 */
39 public static boolean isArray(Object o) {
40 return o != null && o.getClass().isArray();
41 }
42
43 /**
44 * Indicates whether the given array is {@code null} or empty.

Callers 14

assertIsArrayMethod · 0.95
asListMethod · 0.95
toStringOfMethod · 0.80
groupAsListMethod · 0.80
areEqualArraysMethod · 0.80
hashCodeForMethod · 0.80
wrapMethod · 0.80
formatMethod · 0.80
deepToStringMethod · 0.80

Calls

no outgoing calls