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 237B

123456
  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