Updated 10 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 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`.