7 lines
226 B
JavaScript
7 lines
226 B
JavaScript
var classof = require('../internals/classof-raw');
|
|
|
|
// `IsArray` abstract operation
|
|
// https://tc39.github.io/ecma262/#sec-isarray
|
|
module.exports = Array.isArray || function isArray(arg) {
|
|
return classof(arg) == 'Array';
|
|
};
|