hugoWebsite/node_modules/rxjs/dist/esm/internal/observable/iif.js
Jeremy Nusser 0ab675d92b Initial commit... 🎉🎉🎉
2022-10-28 17:20:35 -05:00

5 lines
No EOL
190 B
JavaScript

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