Wiki
Clone wikisymja_android_library / Symbols / ArrayQ
ArrayQ
ArrayQ(expr)
- tests whether
expr
is a full array.
ArrayQ(expr, pattern)
- additional checks whether the array depth of
expr
matchespattern
.
ArrayQ(expr, pattern, test)
- additional checks whether
test
yieldsTrue
for all elements ofexpr
, which aren't lists.
Examples
>>> ArrayQ({a,b})
True
>>> ArrayQ({{a,b},{c}})
False
Updated