documentit/node_modules/isarray/index.js
2018-01-05 10:48:13 -08:00

4 lines
120 B
JavaScript

module.exports = Array.isArray || function (arr) {
return Object.prototype.toString.call(arr) == '[object Array]';
};