65 packages found
Validity validator which calls a subsequent validator if a value is truthy
A simple function to check if a piece of data is truthy. JavaScript version.
- true
- false
- truthy
- falsy
- javascript
- validation
- checking
- data validation
- object validation
- array validation
- set validation
- map validation
Check if a given value is empty in JS extending his "truthy" and "falsy" nature
Truthiness with options
Elegant and battle-tested validation library for type-safe input data (for TypeScript and Flow)
Test if a value is falsy.
Test if a value is truthy.
Test if a value is an array-like object containing only falsy values.
Test if a value is an array-like object containing only truthy values.
Determines if something should be considered a synonym for true
It may be truthy, but is it...substantive?
Lie detection for JavaScript data structures
THE BRINGER OF TRUTH! or false
DWIM-er for turning boring old string values into what you actually meant.
Helps you deny the existence of specified truthy values (e.g. 'someString', aParticularObject)
A useful function to check if a javascript object evaluates to `true`
Convert numerous value types to booleans
lil utility to help race promises against an evaluator function
Helps you confirm the existence of specified falsy values (e.g. 0)