🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

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

3.0.0
latest
Source
npm
Version published
Weekly downloads
1.1M
-19.87%
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