package
Test a value in a variety of ways
npm install test-valueGitHub-flavored package documentation.
Across all versions.
Download trend unavailable.
Runtime metadata.
Example
const testValue = require('test-value')boolean ⏏
functionboolean ⏏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. |
functionReturns 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.
Estimated unpacked size across 3 packages.
38.0 kB
Includes dependencies.