c29b520108 | ||
---|---|---|
.. | ||
node_modules/array-back | ||
.travis.yml | ||
LICENSE | ||
README.hbs | ||
README.md | ||
index.js | ||
package.json | ||
test.js |
README.md
test-value
Example
const testValue = require('test-value')
- test-value
- testValue(value, test, [options]) ⇒
boolean
⏏- .where(test) ⇒
function
- .where(test) ⇒
- testValue(value, test, [options]) ⇒
testValue(value, test, [options]) ⇒ boolean
⏏
Kind: Exported function
Param | Type | Description |
---|---|---|
value | any |
a value to test |
test | any |
the test query |
[options] | object |
|
[options.strict] | boolean |
Treat an object like a value not a query. |
testValue.where(test) ⇒ function
Returns a callback suitable for use by Array
methods like some
, filter
, find
etc.
Kind: static method of testValue
Param | Type | Description |
---|---|---|
test | any |
the test query |
© 2015-18 Lloyd Brookes <75pound@gmail.com>. Documented by jsdoc-to-markdown.