FormRule

fun interface FormRule<T>

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.