Files
Tiber365/node_modules/lit-html/node/development/directives/when.js
2025-05-16 00:17:42 +02:00

12 lines
294 B
JavaScript

/**
* @license
* Copyright 2021 Google LLC
* SPDX-License-Identifier: BSD-3-Clause
*/
function when(condition, trueCase, falseCase) {
return condition ? trueCase() : falseCase === null || falseCase === void 0 ? void 0 : falseCase();
}
export { when };
//# sourceMappingURL=when.js.map