{"_id":"test-value","_rev":"13-e8f71f1b359768f4391f02074cc1913c","name":"test-value","dist-tags":{"latest":"3.0.0"},"versions":{"0.0.0":{"name":"test-value","version":"0.0.0","keywords":[],"author":{"name":"Lloyd Brookes","email":"75pound@gmail.com"},"license":"MIT","_id":"test-value@0.0.0","maintainers":[{"name":"75lb","email":"75pound@gmail.com"}],"homepage":"https://github.com/75lb/test-value#readme","bugs":{"url":"https://github.com/75lb/test-value/issues"},"dist":{"shasum":"3d3dbfa63f936612c61a13fc859be5dfe4875e5e","tarball":"https://registry.npmjs.org/test-value/-/test-value-0.0.0.tgz","integrity":"sha512-J1y5j9g/TyJ+gAlMbmDPpAyQoytipKCsAbq/Jl4CDs9VjAnTe6yev9DLQkdVFu1P9g4HKUoKZbpP+KQQ0O46IA==","signatures":[{"sig":"MEYCIQDwKYHNZiDbo6EbSZk3vc748LPuok3djHQKWXTZpk3DcQIhAJonTbtuKvbcgdHpVkRIsI6EgZ6zM9lBGipRiBWAd7Tr","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"./lib/test-value.js","_from":".","_shasum":"3d3dbfa63f936612c61a13fc859be5dfe4875e5e","engines":{"node":">=0.10.0"},"gitHead":"7f6674dc85555c7d4ff1b8aef4cce627d01cbcc0","scripts":{"docs":"jsdoc2md -t jsdoc2md/README.hbs lib/*.js > README.md; echo","test":"tape test/*.js"},"_npmUser":{"name":"75lb","email":"75pound@gmail.com"},"repository":{"url":"git+https://github.com/75lb/test-value.git","type":"git"},"_npmVersion":"2.12.0","description":"test-value","_nodeVersion":"0.12.5","dependencies":{"typical":"^2.3.0","array-back":"^1"},"devDependencies":{"tape":"^4.0.0","jsdoc-to-markdown":"^1.1.1"},"directories":{},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"0.1.0":{"name":"test-value","version":"0.1.0","keywords":[],"author":{"name":"Lloyd Brookes","email":"75pound@gmail.com"},"license":"MIT","_id":"test-value@0.1.0","maintainers":[{"name":"75lb","email":"75pound@gmail.com"}],"homepage":"https://github.com/75lb/test-value#readme","bugs":{"url":"https://github.com/75lb/test-value/issues"},"dist":{"shasum":"1249cc113df1743c22c118e6b2fd692f0c39c40d","tarball":"https://registry.npmjs.org/test-value/-/test-value-0.1.0.tgz","integrity":"sha512-WH2eDUhZv8zjQBIM4/VbSL1vYk/jUYeL/ZNh6DZCcjr/gfzumx3ZtF19RsWZnI+HH+D36Jtgc30d4gAfM9pt6Q==","signatures":[{"sig":"MEUCIENLCQWdDyIdSfh6zweWQQpqTYx2wIdY5+sBuexP+bf1AiEAwAncthchfKJSlsR/4coQbMFjt4pdpGZqbKsAMuSwhbw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"./lib/test-value.js","_from":".","_shasum":"1249cc113df1743c22c118e6b2fd692f0c39c40d","engines":{"node":">=0.10.0"},"gitHead":"e234be20190338914177b380f32efb84a01343d5","scripts":{"docs":"jsdoc2md -t jsdoc2md/README.hbs lib/*.js > README.md; echo","test":"tape test/*.js"},"_npmUser":{"name":"75lb","email":"75pound@gmail.com"},"repository":{"url":"git+https://github.com/75lb/test-value.git","type":"git"},"_npmVersion":"2.12.0","description":"test-value","_nodeVersion":"0.12.5","dependencies":{"typical":"^2.3.0","array-back":"^1"},"devDependencies":{"tape":"^4.0.0","jsdoc-to-markdown":"^1.1.1"},"directories":{},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"1.0.0":{"name":"test-value","version":"1.0.0","keywords":[],"author":{"name":"Lloyd Brookes","email":"75pound@gmail.com"},"license":"MIT","_id":"test-value@1.0.0","maintainers":[{"name":"75lb","email":"75pound@gmail.com"}],"homepage":"https://github.com/75lb/test-value#readme","bugs":{"url":"https://github.com/75lb/test-value/issues"},"dist":{"shasum":"92faf7768951443422586d513d7577524772618d","tarball":"https://registry.npmjs.org/test-value/-/test-value-1.0.0.tgz","integrity":"sha512-RuIybQoGp2Y2ulxgAkzCcLTYx7q1Wl4EYb8CBvDve5yHcNoYwvgULubG0xLGiET3tJNk3PnQnawlV/uDbjcZEQ==","signatures":[{"sig":"MEUCIA1JYXs1ZFnYWYobHFmr1Gykyotsss7JSpW84nIEZ4oMAiEA8qAhQ9Vu/W3iSFBvYNUvasPk7FG3odAGfqneZ0TJOFo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"./lib/test-value.js","_from":".","_shasum":"92faf7768951443422586d513d7577524772618d","engines":{"node":">=0.10.0"},"gitHead":"fd2d9c56738ce9a27f15affbd5c1639838e0e279","scripts":{"docs":"jsdoc2md -t jsdoc2md/README.hbs lib/*.js > README.md; echo","test":"tape test/*.js"},"_npmUser":{"name":"75lb","email":"75pound@gmail.com"},"repository":{"url":"git+https://github.com/75lb/test-value.git","type":"git"},"_npmVersion":"2.12.0","description":"test-value","_nodeVersion":"0.12.5","dependencies":{"typical":"^2.3.0","array-back":"^1"},"devDependencies":{"tape":"^4.0.0","jsdoc-to-markdown":"^1.1.1"},"directories":{},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"1.0.1":{"name":"test-value","version":"1.0.1","keywords":[],"author":{"name":"Lloyd Brookes","email":"75pound@gmail.com"},"license":"MIT","_id":"test-value@1.0.1","maintainers":[{"name":"75lb","email":"75pound@gmail.com"}],"homepage":"https://github.com/75lb/test-value#readme","bugs":{"url":"https://github.com/75lb/test-value/issues"},"dist":{"shasum":"98fabe45e969c367daa2d4fc9b48c0badd609a44","tarball":"https://registry.npmjs.org/test-value/-/test-value-1.0.1.tgz","integrity":"sha512-POAkSFzBCL1avihO4cb+2Hu9bF08nXFvittOfb6qC+HiKnfcQWH8QiVj4TOjJSFMFNHDuQ068wzE4jiNc1gekA==","signatures":[{"sig":"MEUCIQCIJvbrOAl/YQyqyNVEgobhe7BLN+e2Dlh53i+bu+jvLAIgdGV/GUh1UEYe2bcZi/JrRaJFLirsaKd5PKOQBHXEwZU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"./lib/test-value.js","_from":".","_shasum":"98fabe45e969c367daa2d4fc9b48c0badd609a44","engines":{"node":">=0.10.0"},"gitHead":"d745584ca2893f50a214ae274bd3787d9469a50d","scripts":{"docs":"jsdoc2md -t jsdoc2md/README.hbs lib/*.js > README.md; echo","test":"tape test/*.js"},"_npmUser":{"name":"75lb","email":"75pound@gmail.com"},"repository":{"url":"git+https://github.com/75lb/test-value.git","type":"git"},"_npmVersion":"2.12.0","description":"test-value","_nodeVersion":"0.12.5","dependencies":{"typical":"^2.3.0","array-back":"^1"},"devDependencies":{"tape":"^4.0.0","jsdoc-to-markdown":"^1.1.1"},"directories":{},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"1.1.0":{"name":"test-value","version":"1.1.0","keywords":[],"author":{"name":"Lloyd Brookes","email":"75pound@gmail.com"},"license":"MIT","_id":"test-value@1.1.0","maintainers":[{"name":"75lb","email":"75pound@gmail.com"}],"homepage":"https://github.com/75lb/test-value#readme","bugs":{"url":"https://github.com/75lb/test-value/issues"},"dist":{"shasum":"a09136f72ec043d27c893707c2b159bfad7de93f","tarball":"https://registry.npmjs.org/test-value/-/test-value-1.1.0.tgz","integrity":"sha512-wrsbRo7qP+2Je8x8DsK8ovCGyxe3sYfQwOraIY/09A2gFXU9DYKiTF14W4ki/01AEh56kMzAmlj9CaHGDDUBJA==","signatures":[{"sig":"MEQCIDJh4Bi3dINYGUoBNd6N/OFHnZvFhJwGy+wpYm4CwXzPAiAgAfezG1m+2hh1QEBm21MegiOl9UYx5oP57vhh7pOJYQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"./lib/test-value.js","_from":".","_shasum":"a09136f72ec043d27c893707c2b159bfad7de93f","engines":{"node":">=0.10.0"},"gitHead":"d1664a67d391a8f4ff4bd69beb49f53df2d350df","scripts":{"docs":"jsdoc2md -t jsdoc2md/README.hbs lib/*.js > README.md; echo","test":"tape test/*.js"},"_npmUser":{"name":"75lb","email":"75pound@gmail.com"},"repository":{"url":"git+https://github.com/75lb/test-value.git","type":"git"},"_npmVersion":"3.8.0","description":"Test a value in a variety of ways","_nodeVersion":"5.7.0","dependencies":{"typical":"^2.4.2","array-back":"^1.0.2"},"devDependencies":{"tape":"^4.5.0","jsdoc-to-markdown":"^1.3.3"},"_npmOperationalInternal":{"tmp":"tmp/test-value-1.1.0.tgz_1457001060446_0.03921289090067148","host":"packages-12-west.internal.npmjs.com"},"directories":{},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"2.0.0":{"name":"test-value","version":"2.0.0","keywords":[],"author":{"name":"Lloyd Brookes","email":"75pound@gmail.com"},"license":"MIT","_id":"test-value@2.0.0","maintainers":[{"name":"75lb","email":"75pound@gmail.com"}],"homepage":"https://github.com/75lb/test-value#readme","bugs":{"url":"https://github.com/75lb/test-value/issues"},"dist":{"shasum":"0d65c45ee0b48a757c4507a5e98ec2680a9db137","tarball":"https://registry.npmjs.org/test-value/-/test-value-2.0.0.tgz","integrity":"sha512-7+KqoZFHq5ERSSswHjujZlHoSP9ME/WXmXEu9PqaSmoQvxOsNwxQuC29vV456asWUPpOwa1zh6NCk6wT9DrO+w==","signatures":[{"sig":"MEQCIB1UqO0wtJspURfz/Tb1IrHsNmW2UsSfZWTGjs4Bi4GFAiAwZjSgVkDsrbJTJXVMGVAvTVPsxBZ6NwM3lSKR9e5LTA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"./lib/test-value.js","_from":".","_shasum":"0d65c45ee0b48a757c4507a5e98ec2680a9db137","engines":{"node":">=0.10.0"},"gitHead":"0a11757d3873874d5d061b6412c186bdaaa78873","scripts":{"docs":"jsdoc2md -t jsdoc2md/README.hbs lib/*.js > README.md; echo","test":"tape test/*.js"},"_npmUser":{"name":"75lb","email":"75pound@gmail.com"},"repository":{"url":"git+https://github.com/75lb/test-value.git","type":"git"},"_npmVersion":"3.8.2","description":"Test a value in a variety of ways","_nodeVersion":"5.8.0","dependencies":{"typical":"^2.4.2","array-back":"^1.0.2"},"devDependencies":{"tape":"^4.5.1","jsdoc-to-markdown":"^1.3.3"},"_npmOperationalInternal":{"tmp":"tmp/test-value-2.0.0.tgz_1458209923497_0.9965490303002298","host":"packages-13-west.internal.npmjs.com"},"directories":{},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"2.1.0":{"name":"test-value","version":"2.1.0","keywords":[],"author":{"name":"Lloyd Brookes","email":"75pound@gmail.com"},"license":"MIT","_id":"test-value@2.1.0","maintainers":[{"name":"75lb","email":"75pound@gmail.com"}],"homepage":"https://github.com/75lb/test-value#readme","bugs":{"url":"https://github.com/75lb/test-value/issues"},"dist":{"shasum":"11da6ff670f3471a73b625ca4f3fdcf7bb748291","tarball":"https://registry.npmjs.org/test-value/-/test-value-2.1.0.tgz","integrity":"sha512-+1epbAxtKeXttkGFMTX9H42oqzOTufR1ceCF+GYA5aOmvaPq9wd4PUS8329fn2RRLGNeUkgRLnVpycjx8DsO2w==","signatures":[{"sig":"MEUCIQDbeGzk5OZeDEE1pKgtzhb7yImbi9vGHLzkmOaH/+c7dwIgOXv3ILrhwtO1Sdh0kFRAtgeB4JZqeJvkkg2HmSf+Gls=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"./lib/test-value.js","_from":".","_shasum":"11da6ff670f3471a73b625ca4f3fdcf7bb748291","engines":{"node":">=0.10.0"},"gitHead":"b53bf4ef6b50d60fff91d66ae3cacb4057daf462","scripts":{"docs":"jsdoc2md -t jsdoc2md/README.hbs lib/*.js > README.md; echo","test":"test-runner test/*.js"},"_npmUser":{"name":"75lb","email":"75pound@gmail.com"},"repository":{"url":"git+https://github.com/75lb/test-value.git","type":"git"},"_npmVersion":"3.10.3","description":"Test a value in a variety of ways","_nodeVersion":"6.5.0","dependencies":{"typical":"^2.6.0","array-back":"^1.0.3"},"devDependencies":{"core-assert":"^0.2.0","test-runner":"^0.2.3","jsdoc-to-markdown":"^2.0.0-alpha"},"_npmOperationalInternal":{"tmp":"tmp/test-value-2.1.0.tgz_1473711461834_0.15424790931865573","host":"packages-12-west.internal.npmjs.com"},"directories":{},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"3.0.0":{"name":"test-value","version":"3.0.0","keywords":[],"author":{"name":"Lloyd Brookes","email":"75pound@gmail.com"},"license":"MIT","_id":"test-value@3.0.0","maintainers":[{"name":"75lb","email":"75pound@gmail.com"}],"homepage":"https://github.com/75lb/test-value#readme","bugs":{"url":"https://github.com/75lb/test-value/issues"},"dist":{"shasum":"9168c062fab11a86b8d444dd968bb4b73851ce92","tarball":"https://registry.npmjs.org/test-value/-/test-value-3.0.0.tgz","integrity":"sha512-sVACdAWcZkSU9x7AOmJo5TqE+GyNJknHaHsMrR6ZnhjVlVN9Yx6FjHrsKZ3BjIpPCT68zYesPWkakrNupwfOTQ==","signatures":[{"sig":"MEUCIQD+jTFRnWb4TsAGD+aK7wVUDcOVGUrdQkpni6R+qu2KrgIgK2ZbXaaDBTaX8s0VwN2YzOF3q2sX4hGHGO4yyBwHtHE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"engines":{"node":">=4.0.0"},"gitHead":"b807666c8143716317f015215d1358931754e7aa","scripts":{"docs":"jsdoc2md -t README.hbs index.js > README.md; echo","test":"test-runner test.js"},"_npmUser":{"name":"75lb","email":"75pound@gmail.com"},"repository":{"url":"git+https://github.com/75lb/test-value.git","type":"git"},"_npmVersion":"5.5.1","description":"Test a value in a variety of ways","_nodeVersion":"8.9.1","dependencies":{"typical":"^2.6.1","array-back":"^2.0.0"},"devDependencies":{"test-runner":"^0.4.1","jsdoc-to-markdown":"^3.0.2"},"_npmOperationalInternal":{"tmp":"tmp/test-value-3.0.0.tgz_1512515652180_0.27294860896654427","host":"s3://npm-registry-packages"},"directories":{},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."}},"time":{"created":"2015-07-10T21:10:04.069Z","modified":"2026-03-02T17:37:14.404Z","0.0.0":"2015-07-10T21:10:04.069Z","0.1.0":"2015-07-10T21:17:38.355Z","1.0.0":"2015-07-10T21:42:08.879Z","1.0.1":"2015-07-26T16:39:13.122Z","1.1.0":"2016-03-03T10:31:03.111Z","2.0.0":"2016-03-17T10:18:45.741Z","2.1.0":"2016-09-12T20:17:43.390Z","3.0.0":"2017-12-05T23:14:13.077Z"},"bugs":{"url":"https://github.com/75lb/test-value/issues"},"author":{"name":"Lloyd Brookes","email":"75pound@gmail.com"},"license":"MIT","homepage":"https://github.com/75lb/test-value#readme","keywords":[],"repository":{"url":"git+https://github.com/75lb/test-value.git","type":"git"},"description":"Test a value in a variety of ways","maintainers":[{"name":"75lb","email":"75pound@gmail.com"}],"readme":"[![view on npm](http://img.shields.io/npm/v/test-value.svg)](https://www.npmjs.org/package/test-value)\n[![npm module downloads](http://img.shields.io/npm/dt/test-value.svg)](https://www.npmjs.org/package/test-value)\n[![Build Status](https://travis-ci.org/75lb/test-value.svg?branch=master)](https://travis-ci.org/75lb/test-value)\n[![Dependency Status](https://david-dm.org/75lb/test-value.svg)](https://david-dm.org/75lb/test-value)\n[![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg)](https://github.com/feross/standard)\n\n<a name=\"module_test-value\"></a>\n\n## test-value\n**Example**  \n```js\nconst testValue = require('test-value')\n```\n\n* [test-value](#module_test-value)\n    * [testValue(value, test, [options])](#exp_module_test-value--testValue) ⇒ <code>boolean</code> ⏏\n        * [.where(test)](#module_test-value--testValue.where) ⇒ <code>function</code>\n\n<a name=\"exp_module_test-value--testValue\"></a>\n\n### testValue(value, test, [options]) ⇒ <code>boolean</code> ⏏\n**Kind**: Exported function  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| value | <code>any</code> | a value to test |\n| test | <code>any</code> | the test query |\n| [options] | <code>object</code> |  |\n| [options.strict] | <code>boolean</code> | Treat an object like a value not a query. |\n\n<a name=\"module_test-value--testValue.where\"></a>\n\n#### testValue.where(test) ⇒ <code>function</code>\nReturns a callback suitable for use by `Array` methods like `some`, `filter`, `find` etc.\n\n**Kind**: static method of [<code>testValue</code>](#exp_module_test-value--testValue)  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| test | <code>any</code> | the test query |\n\n\n* * *\n\n&copy; 2015-18 Lloyd Brookes \\<75pound@gmail.com\\>. Documented by [jsdoc-to-markdown](https://github.com/jsdoc2md/jsdoc-to-markdown).\n","readmeFilename":"README.md"}