Search results

8 packages found

If a predicate function returns a truthy value, return `x`; otherwise, return `y`.

published 0.2.1 5 months ago
M
Q
P

If a predicate function returns a truthy value, invoke `x`; otherwise, invoke `y`.

published 0.2.1 5 months ago
M
Q
P

If a function does not return an error, invoke a callback with the function result; otherwise, invoke a second function.

published 0.2.1 5 months ago
M
Q
P

If a function does not return an error, invoke a callback with the function result; otherwise, invoke a callback with a value `y`.

published 0.2.1 5 months ago
M
Q
P

If a function does not throw, return the function return value; otherwise, return the return value of a second function.

published 0.2.1 5 months ago
M
Q
P

If a condition is truthy, return `x`; otherwise, return `y`.

published 0.2.1 5 months ago
M
Q
P

If a condition is truthy, invoke `x`; otherwise, invoke `y`.

published 0.2.1 5 months ago
M
Q
P

If a function does not throw, return the function return value; otherwise, return `y`.

published 0.2.1 5 months ago
M
Q
P