Spec-Zone.ru › Angular

booleanAttribute

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

Built-in transformations

API

function booleanAttribute(value: unknown): boolean;
@paramvalueunknown

Value to be transformed.

@returnsboolean

Usage Notes

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

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API