Search results
36 packages found
Check if entity is falsy or empty.
JS Utility Functions
Check a string whether truthy or falsy.
It checks if a variable is empty or not
Javascript library for testing truthiness of anything. Coerce string booleans into true booleans. Truthyness is not the same as equality!
Convert property values in objects to booleans.
Utilities and types to help with simple Boolean checks
Returns a copy of the array/object with all falsy values removed.
Returns a new object with ALL object properties with [falsy values](https://developer.mozilla.org/en-US/docs/Glossary/Falsy) removed. ## Install ```sh npm install only-truthy ```
Check if the value is undefined, null, empty string, NaN and Infinity.
Detect whether a value is falsy.
A react component that handles conditional logic in a more elegant manner.
- react
- reactjs
- react-component
- conditional
- render
- render-component
- render-props
- condition
- if-else
- truthy
- falsy
- react-conditional
- react-conditional-rendering
- control-flow
- View more
Falsy helper functions and types for TypeScript.
- falsy
- falsey
- false
- non-falsy
- non-falsey
- predicate
- type
- types
- type-guard
- type-predicate
- type-helper
- typescript
- typescript-types
- fp
- View more
This package includes a set of useful array methods that facilitates working with arrays, specifically the arrays that contain objects or arrays even falsy values (such as: 0, null, false, NaN...). This package is es5 supported.
- array
- methods
- functions
- unique
- includes
- split
- search
- range
- shuffle
- fill
- arrange
- randomize
- numeric
- remove
- View more