auBooleanAttribute(
value
):boolean
|undefined
Transforms a value (typically a string) to a boolean. Intended to be used as a transform function of an input.
• value: unknown
Value to be transformed.
boolean
| undefined
the value transformed
@Input({ transform: auBooleanAttribute }) status: boolean | undefined;
auNumberAttribute(
value
):number
|undefined
Transforms a value (typically a string) to a number. Intended to be used as a transform function of an input.
• value: unknown
Value to be transformed.
number
| undefined
the value transformed
@Input({ transform: auNumberAttribute }) id: number | undefined;