Socket
Socket
Sign inDemoInstall

test-value

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

test-value

Test a value in a variety of ways


Version published
Weekly downloads
493K
decreased by-6.64%
Maintainers
1
Weekly downloads
 
Created
Source

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
[options]object
[options.strict]booleanTreat 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.

FAQs

Package last updated on 05 Dec 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc