Search results
8 packages found
If a function does not return an error, invoke a callback with the function result; otherwise, invoke a second function.
- stdlib
- stdutils
- stdutil
- utilities
- utility
- utils
- util
- asynchronous
- async
- try
- catch
- then
- try-catch
- try-then
- View more
published 0.2.1 2 months ago
M
Q
P
If a predicate function returns a truthy value, return `x`; otherwise, return `y`.
published 0.2.1 2 months ago
M
Q
P
If a predicate function returns a truthy value, invoke `x`; otherwise, invoke `y`.
published 0.2.1 2 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`.
- stdlib
- stdutils
- stdutil
- utilities
- utility
- utils
- util
- asynchronous
- async
- try
- catch
- try-catch
- trap
- control
- View more
published 0.2.1 2 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 2 months ago
M
Q
P
If a condition is truthy, return `x`; otherwise, return `y`.
published 0.2.1 2 months ago
M
Q
P
If a condition is truthy, invoke `x`; otherwise, invoke `y`.
published 0.2.1 2 months ago
M
Q
P
If a function does not throw, return the function return value; otherwise, return `y`.
published 0.2.1 2 months ago
M
Q
P