3.0.0 • Published 6 years ago

test-value v3.0.0

Weekly downloads
367,890
License
MIT
Repository
github
Last release
6 years ago

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

ParamTypeDescription
valueanya value to test
testanythe test query
optionsobject
options.strictbooleanTreat 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

ParamTypeDescription
testanythe test query

© 2015-18 Lloyd Brookes \75pound@gmail.com\. Documented by jsdoc-to-markdown.