pnpm
Version:
Fast, disk space efficient package manager
12 lines (10 loc) • 378 B
JavaScript
var _has = /*#__PURE__*/require('./_has');
var toString = Object.prototype.toString;
var _isArguments = /*#__PURE__*/function () {
return toString.call(arguments) === '[object Arguments]' ? function _isArguments(x) {
return toString.call(x) === '[object Arguments]';
} : function _isArguments(x) {
return _has('callee', x);
};
}();
module.exports = _isArguments;