Search results

66 packages found

Elvis operator functionality for JavaScript.

published 2.2.0 6 years ago
M
Q
P

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

published 0.1.0 9 years ago
M
Q
P

Convert property values in objects to booleans.

published 1.0.1 9 years ago
M
Q
P

Filter an object, preserving only truthy values

published 2.0.0 5 years ago
M
Q
P

Utilities and types to help with simple Boolean checks

published 0.0.6 2 years ago
M
Q
P

Creates an array of the own enumerable property names of an object for which the values are truthy.

published 0.1.3 6 years ago
M
Q
P

Returns true if a value is an `affirmative` value (from the affirmative lib). Useful for CLI prompts.

published 0.1.0 8 years ago
M
Q
P

Functions to simplify/normalize rules with the ability to leverage monads and applicative functors over traditional control structures.

published 0.6.1 10 years ago
M
Q
P

Creates an object composed of the object properties for which predicate returns truthy.

published 0.3.0 5 years ago
M
Q
P

Creates an object composed of the object properties for which predicate returns truthy.

published 0.1.0 5 years ago
M
Q
P

Resolves a simple string or a potentially deeply nested structure of primitive values into a simple string array.

published 0.4.3 6 years ago
M
Q
P

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 ```

published 1.0.2 2 years ago
M
Q
P

Checks if the callback returns truthy for any element of the array. Iteration is stopped once the callback returns truthy Return the truthy value or the last falsy value if none of the iteration returns truthy Run over the given array from right to

published 1.2.0 3 years ago
M
Q
P

Checks if the callback returns truthy for any element of the array. Iteration is stopped once the callback returns truthy Return the truthy value or the last falsy value if none of the iteration returns truthy

published 1.2.0 3 years ago
M
Q
P

Returns true if the callback returns truthy for all elements in the given array.

published 0.1.2 9 years ago
M
Q
P

This is a type confirmation module

published 1.3.0 7 years ago
M
Q
P

Detect whether a value is falsy.

published 1.0.2 5 years ago
M
Q
P

Count the number of elements in an array which pass a test implemented by a predicate function.

published 0.1.0 13 days ago
M
Q
P

Check if the value is not undefined, null, empty string, NaN and Infinity.

published 0.20.0 7 years ago
M
Q
P

Determine if a given value is "truthy"

published 0.2.8 2 years ago
M
Q
P