@stdlib/utils-async-if-then

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

Browse on unpkg