validators

fun State.validators(body: ValidatorDsl.() -> Unit): List<Validator<*>>(source)

Initiates the ValidatorDsl on this State, and returns all Validators that were created inside the DSL using the DSL's own functions.

Manually created Validators are not included in the returned List.

This DSL does not modify this State by itself at any point.