change approach again
This commit is contained in:
45
node_modules/test-value/README.md
generated
vendored
Normal file
45
node_modules/test-value/README.md
generated
vendored
Normal file
@ -0,0 +1,45 @@
|
||||
[](https://www.npmjs.org/package/test-value)
|
||||
[](https://www.npmjs.org/package/test-value)
|
||||
[](https://travis-ci.org/75lb/test-value)
|
||||
[](https://david-dm.org/75lb/test-value)
|
||||
[](https://github.com/feross/standard)
|
||||
|
||||
<a name="module_test-value"></a>
|
||||
|
||||
## test-value
|
||||
**Example**
|
||||
```js
|
||||
var testValue = require('test-value')
|
||||
```
|
||||
|
||||
* [test-value](#module_test-value)
|
||||
* [testValue(value, test, [options])](#exp_module_test-value--testValue) ⇒ <code>boolean</code> ⏏
|
||||
* [.where(test)](#module_test-value--testValue.where) ⇒ <code>function</code>
|
||||
|
||||
<a name="exp_module_test-value--testValue"></a>
|
||||
|
||||
### testValue(value, test, [options]) ⇒ <code>boolean</code> ⏏
|
||||
**Kind**: Exported function
|
||||
|
||||
| Param | Type | Description |
|
||||
| --- | --- | --- |
|
||||
| value | <code>any</code> | a value to test |
|
||||
| test | <code>any</code> | the test query |
|
||||
| [options] | <code>object</code> | |
|
||||
| [options.strict] | <code>boolean</code> | Treat an object like a value not a query. |
|
||||
|
||||
<a name="module_test-value--testValue.where"></a>
|
||||
|
||||
#### testValue.where(test) ⇒ <code>function</code>
|
||||
Returns a callback suitable for use by `Array` methods like `some`, `filter`, `find` etc.
|
||||
|
||||
**Kind**: static method of <code>[testValue](#exp_module_test-value--testValue)</code>
|
||||
|
||||
| Param | Type | Description |
|
||||
| --- | --- | --- |
|
||||
| test | <code>any</code> | the test query |
|
||||
|
||||
|
||||
* * *
|
||||
|
||||
© 2015-16 Lloyd Brookes \<75pound@gmail.com\>. Documented by [jsdoc-to-markdown](https://github.com/jsdoc2md/jsdoc-to-markdown).
|
Reference in New Issue
Block a user