test-value
Test a value in a variety of ways
Last updated 7 years ago by 75lb .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ npm install test-value 
SYNC missed versions from official npm registry.

view on npm npm module downloads Build Status Dependency Status js-standard-style

test-value

Example

const testValue = require('test-value')

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.

Current Tags

  • 3.0.0                                ...           latest (7 years ago)

8 Versions

  • 3.0.0                                ...           7 years ago
  • 2.1.0                                ...           8 years ago
  • 2.0.0                                ...           9 years ago
  • 1.1.0                                ...           9 years ago
  • 1.0.1                                ...           9 years ago
  • 1.0.0                                ...           9 years ago
  • 0.1.0                                ...           9 years ago
  • 0.0.0                                ...           9 years ago
Maintainers (1)
Downloads
Total 7
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (2)
Dev Dependencies (2)

© 2010 - cnpmjs.org x YWFE | Home | YWFE