hexo/node_modules/isarray/index.js

4 lines
123 B
JavaScript

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