Files
setup-helm/node_modules/underscore/modules/isArguments.js
github-actions[bot] 20d2b4f98d v3 new release (#80)
2022-06-27 14:17:15 -04:00

17 lines
400 B
JavaScript

import tagTester from './_tagTester.js';
import has from './_has.js';
var isArguments = tagTester('Arguments');
// Define a fallback version of the method in browsers (ahem, IE < 9), where
// there isn't any inspectable "Arguments" type.
(function() {
if (!isArguments(arguments)) {
isArguments = function(obj) {
return has(obj, 'callee');
};
}
}());
export default isArguments;