Answers for "how to check if something is type of array in javascript"

2

javascript determine array type

var data = ['a', 'b', 'c']
var isArray = Array.isArray(data)
console.log(isArray)
Posted by: Guest on May-04-2020

Code answers related to "how to check if something is type of array in javascript"

Code answers related to "Javascript"

Browse Popular Code Answers by Language