UNPKG

416 BJavaScriptView Raw
1/**
2 * @license
3 * Copyright Google LLC All Rights Reserved.
4 *
5 * Use of this source code is governed by an MIT-style license that can be
6 * found in the LICENSE file at https://angular.io/license
7 */
8/** Coerces a data-bound value (typically a string) to a boolean. */
9export function coerceBooleanProperty(value) {
10 return value != null && `${value}` !== 'false';
11}
12//# sourceMappingURL=boolean-property.js.map
\No newline at end of file