Georg b3dd3db30b
Adding show_password_box
Signed-off-by: Georg <georg@lysergic.dev>
2021-06-25 07:28:29 +02:00

6 lines
237 B
JavaScript

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