Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

how to check if something is array javascript


function isArray(value) {
    return Object.prototype.toString.call(value) === "[object Array]";
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #check #array #javascript
ADD COMMENT
Topic
Name
7+6 =