This commit is contained in:
eric sciple 2020-01-24 16:30:50 -05:00
parent 78d7c382fb
commit e7ed525da5
7117 changed files with 1773720 additions and 211 deletions

17
node_modules/object-keys/isArguments.js generated vendored Normal file
View file

@ -0,0 +1,17 @@
'use strict';
var toStr = Object.prototype.toString;
module.exports = function isArguments(value) {
var str = toStr.call(value);
var isArgs = str === '[object Arguments]';
if (!isArgs) {
isArgs = str !== '[object Array]' &&
value !== null &&
typeof value === 'object' &&
typeof value.length === 'number' &&
value.length >= 0 &&
toStr.call(value.callee) === '[object Function]';
}
return isArgs;
};