wishthis/node_modules/rxjs/dist/esm5/internal/observable/iif.js

5 lines
208 B
JavaScript
Raw Normal View History

2022-04-07 07:06:43 +00:00
import { defer } from './defer';
export function iif(condition, trueResult, falseResult) {
return defer(function () { return (condition() ? trueResult : falseResult); });
}
//# sourceMappingURL=iif.js.map