api / koma.util.validation / ValidationContext / addValidator

addValidator

fun addValidator(validator:Validator):Unit

Add a helper that will perform validation at the end of the block.