@angular/core

booleanAttribute

function

Transforms a value (typically a string) to a boolean. Intended to be used as a transform function of an input.

booleanAttribute(
value: unknown
): boolean;
Jump to details