FormRule

fun interface FormRule<T>

Deprecated

Please migrate to the new form implementation. This legacy code will be removed in a future version.

Represents a rule that can be applied to a form field.

Functions

Link copied to clipboard
abstract fun test(value: T, dryRun: Boolean): Boolean

Tests the given value against the rule.