Updated 10 months ago

@stdlib/utils-try-catch • Rank 4.4 • Science 44%

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

Updated 10 months ago

@stdlib/utils-async-if-else • Rank 3.6 • Science 44%

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

Updated 10 months ago

@stdlib/utils-async-try-catch • Rank 3.4 • Science 44%

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

Updated 10 months ago

@stdlib/utils-async-try-then • Rank 3.2 • Science 44%

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