booleanAttribute
function
Transforms a value (typically a string) to a boolean. Intended to be used as a transform function of an input.
API
Usage Notes
function booleanAttribute( value: unknown): boolean;
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
Jump to details