source: trip-planner-front/node_modules/rxjs/_esm2015/internal/observable/iif.js

Last change on this file was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 237 bytes
Line 
1import { defer } from './defer';
2import { EMPTY } from './empty';
3export function iif(condition, trueResult = EMPTY, falseResult = EMPTY) {
4 return defer(() => condition() ? trueResult : falseResult);
5}
6//# sourceMappingURL=iif.js.map
Note: See TracBrowser for help on using the repository browser.