UNPKG

rxjs

Version:

Reactive Extensions for modern JavaScript

5 lines 190 B
import { defer } from './defer'; export function iif(condition, trueResult, falseResult) { return defer(() => (condition() ? trueResult : falseResult)); } //# sourceMappingURL=iif.js.map