123456789101112131415 |
- var isKind = require('./isKind');
- /**
- */
- var isArgs = isKind(arguments, 'Arguments')?
- function(val){
- return isKind(val, 'Arguments');
- } :
- function(val){
- // Arguments is an Object on IE7
- return !!(val && Object.prototype.hasOwnProperty.call(val, 'callee'));
- };
- module.exports = isArgs;
|