{"_id":"validate.io-function","_rev":"15-49b88f443a12895686f38fde3adbf5bd","name":"validate.io-function","description":"Validates if a value is a function.","dist-tags":{"latest":"1.0.2"},"versions":{"0.0.0":{"name":"validate.io-function","version":"0.0.0","description":"Validates if a value is a function.","author":{"name":"Athan Reines","email":"kgryte@gmail.com"},"contributors":[{"name":"Athan Reines","email":"kgryte@gmail.com"}],"scripts":{"test":"mocha","test-cov":"istanbul cover ./node_modules/.bin/_mocha --dir ./reports/coverage -- -R spec","coveralls":"istanbul cover ./node_modules/.bin/_mocha --dir ./reports/coveralls/coverage --report lcovonly -- -R spec && cat ./reports/coveralls/coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./reports/coveralls"},"main":"./lib","repository":{"type":"git","url":"git://github.com/validate-io/function.git"},"keywords":["validate.io","validate","validation","validator","valid","function"],"bugs":{"url":"https://github.com/validate-io/function/issues"},"dependencies":{},"devDependencies":{"chai":"1.x.x","mocha":"1.x.x","coveralls":"^2.11.1","istanbul":"^0.3.0"},"licenses":[{"type":"MIT","url":"http://www.opensource.org/licenses/MIT"}],"gitHead":"357e4ff5e8ecd3c81b8d006ccb74e6312f9491a4","homepage":"https://github.com/validate-io/function","_id":"validate.io-function@0.0.0","_shasum":"c6ea79f09f517476ef2567e8b538339f564c7c01","_from":".","_npmVersion":"1.5.0-alpha-1","_npmUser":{"name":"kgryte","email":"kgryte@gmail.com"},"maintainers":[{"name":"kgryte","email":"kgryte@gmail.com"}],"dist":{"shasum":"c6ea79f09f517476ef2567e8b538339f564c7c01","tarball":"https://registry.npmjs.org/validate.io-function/-/validate.io-function-0.0.0.tgz","integrity":"sha512-bsXB72Qbv366ccy9Ra3k2zH00Bnn1CXlKrkB5YTkXNNoaGNAvW0xz7/+4e16d1VUlSz9j/3eZZOlpo/uaZZujg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICneN1ZF9DaYoS2LHo9z+pgsGQp0Yvxu0sEgjWJIioD4AiBMx2CjqD1bSGrpm/invG6yiCXDcCj69iYd9D6dTWH5bg=="}]}},"0.0.1":{"name":"validate.io-function","version":"0.0.1","description":"Validates if a value is a function.","author":{"name":"Athan Reines","email":"kgryte@gmail.com"},"contributors":[{"name":"Athan Reines","email":"kgryte@gmail.com"}],"scripts":{"test":"mocha","test-cov":"istanbul cover ./node_modules/.bin/_mocha --dir ./reports/coverage -- -R spec","coveralls":"istanbul cover ./node_modules/.bin/_mocha --dir ./reports/coveralls/coverage --report lcovonly -- -R spec && cat ./reports/coveralls/coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./reports/coveralls"},"main":"./lib","repository":{"type":"git","url":"git://github.com/validate-io/function.git"},"keywords":["validate.io","validate","validation","validator","valid","function"],"bugs":{"url":"https://github.com/validate-io/function/issues"},"dependencies":{},"devDependencies":{"chai":"1.x.x","mocha":"1.x.x","coveralls":"^2.11.1","istanbul":"^0.3.0"},"licenses":[{"type":"MIT","url":"http://www.opensource.org/licenses/MIT"}],"gitHead":"1f1f673e2c08de86c1b58bc04776ff71dfcad860","homepage":"https://github.com/validate-io/function","_id":"validate.io-function@0.0.1","_shasum":"0a7bbe990e5e2d095bef058ca1ee6603c40092c7","_from":".","_npmVersion":"1.5.0-alpha-1","_npmUser":{"name":"kgryte","email":"kgryte@gmail.com"},"maintainers":[{"name":"kgryte","email":"kgryte@gmail.com"}],"dist":{"shasum":"0a7bbe990e5e2d095bef058ca1ee6603c40092c7","tarball":"https://registry.npmjs.org/validate.io-function/-/validate.io-function-0.0.1.tgz","integrity":"sha512-qimLSAYAEJ3qVzDno7GC9gzgcAjegydFeZFcauvbxHJpTN43Vl33O9VNym9WnXwuKA61EnP50LO7eTLqkLGnRQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEK0IOoOQdo/VAmBiAECEH5U7W/hV9KtsU8P6FaqsfySAiEAwWzPqve9EhTwRfcgo12ft3tl226GebEgPVmUdJC4kQ8="}]}},"0.0.2":{"name":"validate.io-function","version":"0.0.2","description":"Validates if a value is a function.","author":{"name":"Athan Reines","email":"kgryte@gmail.com"},"contributors":[{"name":"Athan Reines","email":"kgryte@gmail.com"}],"scripts":{"test":"mocha","test-cov":"istanbul cover ./node_modules/.bin/_mocha --dir ./reports/coverage -- -R spec","coveralls":"istanbul cover ./node_modules/.bin/_mocha --dir ./reports/coveralls/coverage --report lcovonly -- -R spec && cat ./reports/coveralls/coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./reports/coveralls"},"main":"./lib","repository":{"type":"git","url":"git://github.com/validate-io/function.git"},"keywords":["validate.io","validate","validation","validator","valid","function"],"bugs":{"url":"https://github.com/validate-io/function/issues"},"dependencies":{},"devDependencies":{"chai":"1.x.x","mocha":"1.x.x","coveralls":"^2.11.1","istanbul":"^0.3.0"},"licenses":[{"type":"MIT","url":"http://www.opensource.org/licenses/MIT"}],"gitHead":"93d041a8c01791cf3196fef2d39a269f5deb961a","homepage":"https://github.com/validate-io/function","_id":"validate.io-function@0.0.2","_shasum":"631f0578ab9bae138d08a29ba510e5d963872644","_from":".","_npmVersion":"1.5.0-alpha-1","_npmUser":{"name":"kgryte","email":"kgryte@gmail.com"},"maintainers":[{"name":"kgryte","email":"kgryte@gmail.com"}],"dist":{"shasum":"631f0578ab9bae138d08a29ba510e5d963872644","tarball":"https://registry.npmjs.org/validate.io-function/-/validate.io-function-0.0.2.tgz","integrity":"sha512-nADfsoViZD6f8WyPUE6Rxm3Wv+DWVFEzEEa5SKJvQbSpeOtGCujcpthGJTpzosKUo5D0aDabknxdkSiF0UlRxg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAZv0ogxEF816NFXqMffhXP7w1k964tLK3zgULdFjhPqAiA0dH8SU0e+A+xQ9J6zzxaAhfIUPFSqXsny1WnXIAgD9Q=="}]}},"1.0.0":{"name":"validate.io-function","version":"1.0.0","description":"Validates if a value is a function.","author":{"name":"Athan Reines","email":"kgryte@gmail.com"},"contributors":[{"name":"Athan Reines","email":"kgryte@gmail.com"}],"scripts":{"test":"mocha","test-cov":"istanbul cover ./node_modules/.bin/_mocha --dir ./reports/coverage -- -R spec","coveralls":"istanbul cover ./node_modules/.bin/_mocha --dir ./reports/coveralls/coverage --report lcovonly -- -R spec && cat ./reports/coveralls/coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./reports/coveralls"},"main":"./lib","repository":{"type":"git","url":"git://github.com/validate-io/function.git"},"keywords":["validate.io","validate","validation","validator","valid","function"],"bugs":{"url":"https://github.com/validate-io/function/issues"},"dependencies":{},"devDependencies":{"chai":"1.x.x","mocha":"1.x.x","coveralls":"^2.11.1","istanbul":"^0.3.0"},"licenses":[{"type":"MIT","url":"http://www.opensource.org/licenses/MIT"}],"gitHead":"fc1616d1ce364cfc9dfc414009ae7c4963ed8987","homepage":"https://github.com/validate-io/function","_id":"validate.io-function@1.0.0","_shasum":"1c9ef175c88a77ceb932d9334df2faaa9d32a17b","_from":".","_npmVersion":"1.5.0-alpha-1","_npmUser":{"name":"kgryte","email":"kgryte@gmail.com"},"maintainers":[{"name":"kgryte","email":"kgryte@gmail.com"}],"dist":{"shasum":"1c9ef175c88a77ceb932d9334df2faaa9d32a17b","tarball":"https://registry.npmjs.org/validate.io-function/-/validate.io-function-1.0.0.tgz","integrity":"sha512-rTx6v1uhSitmn6TbrXhXcsmB+IDYwk4aPR3z63VeGDjPqQIxs/i1tgldJ6OuL1GoKkLrZFfal34K6WMmLywQEw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDZ4iHL9Lza7OM+PfgISDVUdAYQHYgLqg/GEZI0knMxLwIgVuOUHgUV593IEpWRYJFuI7Lz4Ka02WiC97vYJU3KvDk="}]}},"1.0.1":{"name":"validate.io-function","version":"1.0.1","description":"Validates if a value is a function.","author":{"name":"Athan Reines","email":"kgryte@gmail.com"},"contributors":[{"name":"Athan Reines","email":"kgryte@gmail.com"}],"scripts":{"test":"mocha","test-cov":"istanbul cover ./node_modules/.bin/_mocha --dir ./reports/coverage -- -R spec","coveralls":"istanbul cover ./node_modules/.bin/_mocha --dir ./reports/coveralls/coverage --report lcovonly -- -R spec && cat ./reports/coveralls/coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./reports/coveralls"},"main":"./lib","repository":{"type":"git","url":"git://github.com/validate-io/function.git"},"keywords":["validate.io","validate","validation","validator","valid","function"],"bugs":{"url":"https://github.com/validate-io/function/issues"},"dependencies":{},"devDependencies":{"chai":"1.x.x","mocha":"1.x.x","coveralls":"^2.11.1","istanbul":"^0.3.0","jshint":"^2.5.10","jshint-stylish":"^1.0.0"},"licenses":[{"type":"MIT","url":"http://www.opensource.org/licenses/MIT"}],"gitHead":"087d8ce3d1378bfc73d59cfc16d51bf5aa1cc23a","homepage":"https://github.com/validate-io/function","_id":"validate.io-function@1.0.1","_shasum":"7b6cc1630cf44bf7d0287266069947fd52044435","_from":".","_npmVersion":"1.5.0-alpha-1","_npmUser":{"name":"kgryte","email":"kgryte@gmail.com"},"maintainers":[{"name":"kgryte","email":"kgryte@gmail.com"}],"dist":{"shasum":"7b6cc1630cf44bf7d0287266069947fd52044435","tarball":"https://registry.npmjs.org/validate.io-function/-/validate.io-function-1.0.1.tgz","integrity":"sha512-3juulkZFONQ4w7QfpkLKnsInOeTmfGRgUZUDqUWdbQk2uzQKr6LN2A3z+kTzBT5Do3FticJBvOaXfYmLwOOYAQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEy691///MJnKIzcwGaF3MsBqo/i3t044LFkBFvFXdVgAiAzZe481xgdXqrVoTg0dLVBySR3f7QWwFRwmU3kOmxh9Q=="}]}},"1.0.2":{"name":"validate.io-function","version":"1.0.2","description":"Validates if a value is a function.","author":{"name":"Athan Reines","email":"kgryte@gmail.com"},"contributors":[{"name":"Athan Reines","email":"kgryte@gmail.com"}],"scripts":{"test":"mocha","test-cov":"istanbul cover ./node_modules/.bin/_mocha --dir ./reports/coverage -- -R spec","coveralls":"istanbul cover ./node_modules/.bin/_mocha --dir ./reports/coveralls/coverage --report lcovonly -- -R spec && cat ./reports/coveralls/coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./reports/coveralls"},"main":"./lib","repository":{"type":"git","url":"git://github.com/validate-io/function.git"},"keywords":["validate.io","validate","validation","validator","valid","function","is","isfunction"],"bugs":{"url":"https://github.com/validate-io/function/issues"},"dependencies":{},"devDependencies":{"chai":"1.x.x","mocha":"1.x.x","coveralls":"^2.11.1","istanbul":"^0.3.0","jshint":"^2.5.10","jshint-stylish":"^1.0.0"},"licenses":[{"type":"MIT","url":"http://www.opensource.org/licenses/MIT"}],"gitHead":"bf20b216ebe25399b75ab664b8eeb7f2055b94e7","homepage":"https://github.com/validate-io/function","_id":"validate.io-function@1.0.2","_shasum":"343a19802ed3b1968269c780e558e93411c0bad7","_from":".","_npmVersion":"1.5.0-alpha-1","_npmUser":{"name":"kgryte","email":"kgryte@gmail.com"},"maintainers":[{"name":"kgryte","email":"kgryte@gmail.com"}],"dist":{"shasum":"343a19802ed3b1968269c780e558e93411c0bad7","tarball":"https://registry.npmjs.org/validate.io-function/-/validate.io-function-1.0.2.tgz","integrity":"sha512-LlFybRJEriSuBnUhQyG5bwglhh50EpTL2ul23MPIuR1odjO7XaMLFV8vHGwp7AZciFxtYOeiSCT5st+XSPONiQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBheUNl0nG+bXYYPto0s+CK3FNtImssFHCF/eEjWpiuPAiEAy59uZjYbttcgrlKObrWfffBvjAy8euixAQ3IhrUNgLg="}]}}},"readme":"Function\n===\n[![NPM version][npm-image]][npm-url] [![Build Status][travis-image]][travis-url] [![Coverage Status][coveralls-image]][coveralls-url] [![Dependencies][dependencies-image]][dependencies-url]\n\n> Validates if a value is a function.\n\n\n## Installation\n\n``` bash\n$ npm install validate.io-function\n```\n\nFor use in the browser, use [browserify](https://github.com/substack/node-browserify).\n\n\n## Usage\n\n``` javascript\nvar isFunction = require( 'validate.io-function' );\n```\n\n#### isFunction( value )\n\nValidates if a `value` is a `function`.\n\n``` javascript\nvar value = function beep(){};\n\nvar bool = isFunction( value );\n// returns true\n```\n\n\n## Examples\n\n``` javascript\nconsole.log( isFunction( function foo(){} ) );\n// returns true\n\nconsole.log( isFunction( {} ) );\n// returns false\n```\n\nTo run the example code from the top-level application directory,\n\n``` bash\n$ node ./examples/index.js\n```\n\n\n## Tests\n\n### Unit\n\nUnit tests use the [Mocha](http://mochajs.org) test framework with [Chai](http://chaijs.com) assertions. To run the tests, execute the following command in the top-level application directory:\n\n``` bash\n$ make test\n```\n\nAll new feature development should have corresponding unit tests to validate correct functionality.\n\n\n### Test Coverage\n\nThis repository uses [Istanbul](https://github.com/gotwarlost/istanbul) as its code coverage tool. To generate a test coverage report, execute the following command in the top-level application directory:\n\n``` bash\n$ make test-cov\n```\n\nIstanbul creates a `./reports/coverage` directory. To access an HTML version of the report,\n\n``` bash\n$ make view-cov\n```\n\n\n---\n## License\n\n[MIT license](http://opensource.org/licenses/MIT). \n\n\n## Copyright\n\nCopyright &copy; 2014. Athan Reines.\n\n\n[npm-image]: http://img.shields.io/npm/v/validate.io-function.svg\n[npm-url]: https://npmjs.org/package/validate.io-function\n\n[travis-image]: http://img.shields.io/travis/validate-io/function/master.svg\n[travis-url]: https://travis-ci.org/validate-io/function\n\n[coveralls-image]: https://img.shields.io/coveralls/validate-io/function/master.svg\n[coveralls-url]: https://coveralls.io/r/validate-io/function?branch=master\n\n[dependencies-image]: http://img.shields.io/david/validate-io/function.svg\n[dependencies-url]: https://david-dm.org/validate-io/function\n\n[dev-dependencies-image]: http://img.shields.io/david/dev/validate-io/function.svg\n[dev-dependencies-url]: https://david-dm.org/dev/validate-io/function\n\n[github-issues-image]: http://img.shields.io/github/issues/validate-io/function.svg\n[github-issues-url]: https://github.com/validate-io/function/issues\n","maintainers":[{"name":"kgryte","email":"kgryte@gmail.com"}],"time":{"modified":"2022-06-28T08:32:23.298Z","created":"2014-08-31T01:09:49.724Z","0.0.0":"2014-08-31T01:09:49.724Z","0.0.1":"2014-08-31T01:55:42.151Z","0.0.2":"2014-08-31T06:25:45.686Z","1.0.0":"2014-09-01T18:32:28.597Z","1.0.1":"2015-02-19T22:43:38.261Z","1.0.2":"2015-02-20T10:44:59.399Z"},"homepage":"https://github.com/validate-io/function","keywords":["validate.io","validate","validation","validator","valid","function","is","isfunction"],"repository":{"type":"git","url":"git://github.com/validate-io/function.git"},"contributors":[{"name":"Athan Reines","email":"kgryte@gmail.com"}],"author":{"name":"Athan Reines","email":"kgryte@gmail.com"},"bugs":{"url":"https://github.com/validate-io/function/issues"},"readmeFilename":"README.md","users":{"sky3r":true}}