JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 764716
  • Score
    100M100P100Q173047F
  • License MIT

Test a value in a variety of ways

Package Exports

  • test-value

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (test-value) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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.