MatrixQ¶ Tests whether an expression is a rectangular matrix (a list of equal-length lists). $ wo 'MatrixQ[{{1, 2}, {3, 4}}]' True $ wo 'MatrixQ[{1, 2, 3}]' False