booleanAttribute
function
Transforms a value (typically a string) to a boolean. Intended to be used as a transform function of an input.
booleanAttribute
boolean
Transforms a value (typically a string) to a boolean. Intended to be used as a transform function of an input.
@paramvalue
unknown
Value to be transformed.
@returns
boolean
Usage Notes
@Input({ transform: booleanAttribute }) status!: boolean;
Jump to details