1 /** PURE_IMPORTS_START _defer,_empty PURE_IMPORTS_END */
2 import { defer } from './defer';
3 import { EMPTY } from './empty';
4 export function iif(condition, trueResult, falseResult) {
5 if (trueResult === void 0) {
8 if (falseResult === void 0) {
11 return defer(function () { return condition() ? trueResult : falseResult; });
13 //# sourceMappingURL=iif.js.map