Answers for "if array or not javascript"

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 "if array or not javascript"

Code answers related to "Javascript"

Browse Popular Code Answers by Language