Answers for "check array or not js"

0

check if is array javascript

if(Object.prototype.toString.call(someVar) === '[object Array]') {
    alert('Array!');
}
Posted by: Guest on September-19-2021

Code answers related to "check array or not js"

Code answers related to "Javascript"

Browse Popular Code Answers by Language