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