validate

fun validate(value: V = getValue(), dryRun: Boolean = false): Boolean

Validates the field value.

Return

true if the field value is valid; false otherwise.

Parameters

value

The value to validate. Defaults to the current field value.

dryRun

Whether to perform a dry run. Defaults to false. If true, the field errors are not updated.