Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

    is-argumentspublic

    is-arguments Version Badge

    Build Status dependency status dev dependency status License Downloads

    npm badge

    browser support

    Is this an arguments object? It's a harder question than you think.

    Example

    var isArguments = require('is-arguments');
    var assert = require('assert');
     
    assert.equal(isArguments({}), false);
    assert.equal(isArguments([]), false);
    (function () {
        assert.equal(isArguments(arguments), true);
    }())

    Tests

    Simply clone the repo, npm install, and run npm test

    install

    npm i is-arguments

    Downloadsweekly downloads

    14,800

    version

    1.0.2

    license

    MIT

    repository

    github.com

    last publish

    collaborators

    • avatar