[![view on npm](http://img.shields.io/npm/v/test-value.svg)](https://www.npmjs.org/package/test-value)
[![npm module downloads](http://img.shields.io/npm/dt/test-value.svg)](https://www.npmjs.org/package/test-value)
[![Build Status](https://travis-ci.org/75lb/test-value.svg?branch=master)](https://travis-ci.org/75lb/test-value)
[![Dependency Status](https://david-dm.org/75lb/test-value.svg)](https://david-dm.org/75lb/test-value)
[![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg)](https://github.com/feross/standard)
## test-value
**Example**
```js
const testValue = require('test-value')
```
* [test-value](#module_test-value)
* [testValue(value, test, [options])](#exp_module_test-value--testValue) ⇒ boolean
⏏
* [.where(test)](#module_test-value--testValue.where) ⇒ function
### 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
](#exp_module_test-value--testValue)
| Param | Type | Description |
| --- | --- | --- |
| test | any
| the test query |
* * *
© 2015-18 Lloyd Brookes \<75pound@gmail.com\>. Documented by [jsdoc-to-markdown](https://github.com/jsdoc2md/jsdoc-to-markdown).