how to check a variable is an array or not in jquery js 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)