Transforms a value (typically a string) to a boolean. Intended to be used as a transform function of an input.
API
function booleanAttribute(value: unknown): boolean;
Usage Notes
status = input({ transform: booleanAttribute });Transforms a value (typically a string) to a boolean. Intended to be used as a transform function of an input.
function booleanAttribute(value: unknown): boolean;
status = input({ transform: booleanAttribute });
Super-powered by Google ©2010–2025.
Code licensed under an MIT-style License. Documentation licensed under CC BY 4.0.
https://angular.dev/api/core/booleanAttribute