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 客户端使用