Socket
Socket
Sign inDemoInstall

valido

Package Overview
Dependencies
Maintainers
1
Versions
40
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

valido

Check and validation library


Version published
Weekly downloads
12
decreased by-55.56%
Maintainers
1
Weekly downloads
 
Created
Source

valido 2.0.15

Check and validation library

src/index.js

validateAll(values, predicate, options)

Validates a list of values

Parameters
NameTypeDescription
valuesArray.<*>- Values 
predicatefunction- predicate 
optionsobject- Options 
Returns
  • Boolean
validateOptional(value, predicate, options)

Validates an optional values An optional value will always validate to true if null/undefined

Parameters
NameTypeDescription
value- Value 
predicatefunction- predicate 
optionsobject- Options 
Returns
  • Boolean

Documentation generated with doxdox.

Keywords

FAQs

Package last updated on 21 Oct 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