Wiki

Clone wiki

symja_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 matches pattern.
ArrayQ(expr, pattern, test)
additional checks whether test yields True for all elements of expr, which aren't lists.

Examples

>>> ArrayQ({a,b})
True
>>> ArrayQ({{a,b},{c}})
False

Updated