VectorQ VectorQ[expr] returns True if expr is a vector, False otherwise. Attributes[VectorQ] := {Protected} Simple examples In[1]:= VectorQ[{1, 2, c}] Out[1]= True In[2]:= VectorQ[{1, 2, foo[a]}] Out[2]= True In[3]:= VectorQ[foo[1, 2, 3]] Out[3]= False In[4]:= VectorQ[{1, 2, 3, {}}] Out[4]= False In[5]:= VectorQ[{f[a], f[b]}] Out[5]= True In[6]:= VectorQ[{a, c}] Out[6]= True In[7]:= VectorQ[{}] Out[7]= True