Wert ist Array

var colors=["red","green","blue"];

if(Array.isArray(colors)){
    //colors is an array
}
Grepper