Skip to content

PropertyWidget.validate method

PropertyWidget › validate

Unofficial

Validate whether the input value to the widget is correct.

Signature:

validate(value: unknown): boolean

Parameters:

Parameter Type Description
value unknown The value to validate.

Returns: booleanWhether the value is valid.