MCPcopy
hub / github.com/angular/components / coerceBooleanProperty

Function coerceBooleanProperty

src/cdk/coercion/boolean-property.ts:16–18  ·  view source on GitHub ↗
(value: any)

Source from the content-addressed store, hash-verified

14
15/** Coerces a data-bound value (typically a string) to a boolean. */
16export function coerceBooleanProperty(value: any): boolean {
17 return value != null && `${value}` !== 'false';
18}

Callers 15

showLabelMethod · 0.90
expandAllMethod · 0.90
multipleMethod · 0.90
positionAtOriginMethod · 0.90
disabledMethod · 0.90
isDisabledMethod · 0.90
hideRequiredMarkerMethod · 0.90
fixedInViewportMethod · 0.90
disableCloseMethod · 0.90
autoFocusMethod · 0.90
openedMethod · 0.90
autosizeMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…