Icard/angular-clarity-master(work.../node_modules/lit-html/development/directives/when.js

9 lines
248 B
JavaScript
Raw Normal View History

2024-07-16 14:55:36 +00:00
/**
* @license
* Copyright 2021 Google LLC
* SPDX-License-Identifier: BSD-3-Clause
*/
export function when(condition, trueCase, falseCase) {
return condition ? trueCase(condition) : falseCase?.(condition);
}
//# sourceMappingURL=when.js.map