how to check if a variable is of type array in javascript code example
Example: javascript determine array type
var data = ['a', 'b', 'c']
var isArray = Array.isArray(data)
console.log(isArray)
var data = ['a', 'b', 'c']
var isArray = Array.isArray(data)
console.log(isArray)