array-helper.js 253 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 8 9 10 11 module.exports = { isArray: function(value) { if (Array.isArray) { return Array.isArray(value); } // fallback for older browsers like IE 8 return Object.prototype.toString.call( value ) === '[object Array]'; } };