This is documentation for Mathematica 5, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)

Documentation / Mathematica / Built-in Functions / Lists and Matrices / List Testing /

Further Examples: VectorQ

The list {a, b, c} is considered to be a vector as long as none of the entries of the list are lists themselves.

In[1]:=

Out[1]=

In[2]:=

Out[2]=

In[3]:=

Out[3]=

In[4]:=

Out[4]=

Although is a vector and each element is an even integer, the output here is False since is not greater than .

In[5]:=

Out[5]=