hugoWebsite/node_modules/rxjs/dist/esm/internal/observable/iif.js

5 lines
190 B
JavaScript

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