Updated 6 months ago
@stdlib/utils-async-if-else
If a predicate function returns a truthy value, return `x`; otherwise, return `y`.
Updated 6 months ago
@stdlib/utils-async-try-catch
If a function does not return an error, invoke a callback with the function result; otherwise, invoke a callback with a value `y`.
Updated 6 months ago
@stdlib/utils-async-try-then
If a function does not return an error, invoke a callback with the function result; otherwise, invoke a second function.