Package Exports
- jsmicro-is-arguments
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (jsmicro-is-arguments) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
JSMicro - Is Arguments
isArguments(object)
Check does the given Javascript Object (array, object, string, etc) is an arguments.
isNotArguments(object)
Check does the given Javascript Arguments (array, object, string, etc) is not an arguments.
Browser Usage
bower install --save jsmicro-is-arguments<script type="text/javascript" src="bower_components/jsmicro-is-arguments/index.js">
<script type="text/javascript">
function test() {
var nbr = 200;
// Available in the window object.
isArguments(arguments); // true
isArguments(nbr); // false
isNotArguments(nbr); // true
}
test();
</script>NodeJS Usage
npm install --save jsmicro-is-argumentsconst obj = require('jsmicro-is-arguments');
function test() {
// Available in the global object.
isArguments(arguments); // true
isArguments(23322333); // false
isNotArguments(23234); // true
// Also available in the export object.
obj.isArguments(arguments); // true
obj.isArguments(23322333); // false
obj.isNotArguments(23333); // true
}
test();Changelogs
v1.0.1 - May 21, 2016
- Added .npmignore
v1.0.0 - May 19, 2016
- Initial release.