Search results

16 packages found

Returns true if the given is falsey (according to JavaScript) or matches a 'falsey' keyword.

published version 1.0.0, 7 years ago53 dependents licensed under $MIT
594,265

Casts the given value to a flatten array, and removes falsey items (similar to lodash compact).

published version 0.2.0, 10 years ago15 dependents licensed under $MIT
120,764

returns a copy of an array with falsey values removed

published version 3.2.0, 2 years ago8 dependents licensed under $MIT
6,457

Trim empty, nullish, or falsey keys from your JSON object

published version 1.2.0, a year ago3 dependents licensed under $Artistic-2.0
1,143

Determines if something should be considered a synonym for true

published version 1.0.1, 9 years ago4 dependents licensed under $ISC
804

False

published version 9999999.999999.10000006, 4 months ago2 dependents licensed under $10xGPWTHPL
349

Test if a value is truthy.

published version 0.2.2, 9 months ago1 dependents licensed under $Apache-2.0
196

Convert numerous value types to booleans

published version 1.0.2, 11 years ago3 dependents licensed under $MIT
146

Test if a value is falsy.

published version 0.2.2, 9 months ago1 dependents licensed under $Apache-2.0
157

Test if a value is an array-like object containing only falsy values.

published version 0.2.2, 9 months ago0 dependents licensed under $Apache-2.0
102

Tests a value’s type against a string like 'positive integer' or 'non-empty map'.

published version 1.1.0, 7 years ago1 dependents licensed under $MIT
124

Test if a value is an array-like object containing only truthy values.

published version 0.2.2, 9 months ago0 dependents licensed under $Apache-2.0
86

The future is here.

published version 13.0.0, 6 months ago1 dependents licensed under $10xGPWTHPL
48

A lightweight utility library for Boolean logic.

published version 0.1.0-alpha.6, 4 months ago0 dependents licensed under $MIT
29

Falsy helper functions and types for TypeScript.

published version 0.2.0, 3 years ago2 dependents licensed under $MIT
24

Javascript library for testing truthiness of anything. Coerce string booleans into true booleans. Truthyness is not the same as equality!

published version 0.1.0, 10 years ago0 dependents
8