source:
trip-planner-front/node_modules/rxjs/_esm2015/internal/observable/iif.js@
6c1585f
Last change on this file since 6c1585f was 6a3a178, checked in by , 3 years ago | |
---|---|
|
|
File size: 237 bytes |
Line | |
---|---|
1 | import { defer } from './defer'; |
2 | import { EMPTY } from './empty'; |
3 | export 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.