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