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

Last change on this file since 76712b2 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.