DocumentationMathematicaBuilt-in FunctionsLists and MatricesList Testing
VectorQ[expr] gives True if expr is a list or a one-dimensional SparseArray object, none of whose elements are themselves lists, and gives False otherwise.
VectorQ[expr, test] gives True only if test yields True when applied to each of the elements in expr.
VectorQ[expr, NumberQ] tests whether expr is a vector of numbers.
See Section 2.3.5 and Section 3.7.3.
See also: MatrixQ, ArrayDepth.
New in Version 1; modified in 2.