documentit/node_modules/isarray/index.js

4 lines
120 B
JavaScript
Raw Normal View History

2018-01-05 18:48:13 +00:00
module.exports = Array.isArray || function (arr) {
return Object.prototype.toString.call(arr) == '[object Array]';
};