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