GoScrobble/web/node_modules/isarray/index.js

4 lines
120 B
JavaScript

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