Updated 4 months ago

@stdlib/utils-async-if-then • Rank 3.7 • Science 44%

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

Updated 4 months ago

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

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