Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

js check if is array

if(Array.isArray(colors)){
    //colors is an array
}
 
PREVIOUS NEXT
Tagged: #js #check #array
ADD COMMENT
Topic
Name
9+7 =