api / koma.util.validation / ValidationContext / validate

validate

fun validate():Unit

Check declared matrices against any rules that have been added with addValidator.

fun validate(fn:ValidationContext.() ->Unit):Unit

Check declared matrices against any rules that have been added with addValidator, after running the given callback.

Parameters

fn - A function to execute before validating.