Qurak

VectorQ

利用可能

Tests whether an expression is a flat (non-nested) list.

VectorQ[expr]
VectorQ[expr, test]
VectorQ[{1, 2, 3}] → TrueVectorQ[{{1, 2}, {3, 4}}] → FalseVectorQ[{1, 2, x}, NumberQ] → FalseVectorQ[{1, 2, 3}, Positive] → True

使用箇所

トピック

関連

全 6300 関数 · MCPクライアントから使う