Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

check if element is array javascript

Array.isArray([]) //true
Array.isArray({}) //false
Array.isArray('') //false
Array.isArray(null) //false
 
PREVIOUS NEXT
Tagged: #check #element #array #javascript
ADD COMMENT
Topic
Name
1+2 =