_is-array.js 147 Bytes
Newer Older
liang ce committed
1 2 3 4 5
// 7.2.2 IsArray(argument)
var cof = require('./_cof');
module.exports = Array.isArray || function isArray(arg) {
  return cof(arg) == 'Array';
};