Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

check if is array javascript

if(Object.prototype.toString.call(someVar) === '[object Array]') {
    alert('Array!');
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #check #array #javascript
ADD COMMENT
Topic
Name
5+4 =