linwenling
2023-07-18 93b60550647624ed757025ec351d3bc0fae42406
1
2
3
4
5
6
import { defer } from './defer';
import { EMPTY } from './empty';
export function iif(condition, trueResult = EMPTY, falseResult = EMPTY) {
    return defer(() => condition() ? trueResult : falseResult);
}
//# sourceMappingURL=iif.js.map