Ohm-Management - Projektarbeit B-ME
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

iif.js 433B

12345678910111213
  1. /** PURE_IMPORTS_START _defer,_empty PURE_IMPORTS_END */
  2. import { defer } from './defer';
  3. import { EMPTY } from './empty';
  4. export function iif(condition, trueResult, falseResult) {
  5. if (trueResult === void 0) {
  6. trueResult = EMPTY;
  7. }
  8. if (falseResult === void 0) {
  9. falseResult = EMPTY;
  10. }
  11. return defer(function () { return condition() ? trueResult : falseResult; });
  12. }
  13. //# sourceMappingURL=iif.js.map