All Downloads are FREE. Search and download functionalities are using the official Maven repository.

package.modules.isArguments.js Maven / Gradle / Ivy

The newest version!
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;




© 2015 - 2024 Weber Informatics LLC | Privacy Policy