ramda
Version:
A practical functional library for JavaScript programmers.
10 lines • 379 B
JavaScript
var _has = /*#__PURE__*/require("./_has.js");
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;