debian-mirror-gitlab/core-js/internals/is-array.js

8 lines
226 B
JavaScript
Raw Normal View History

2019-09-25 13:30:05 +05:30
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';
};