check if it is an array \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)