if (Object. prototype . toString . call ( myArray ) === '[object Array]' ) { // definitivamente es un vector; // esta es considerada la forma más robusta // de determinar si un valor es un vector. } Fuente: Libro Fundamentos JQuery.