condition

fun condition(failure: ValidationFailure, condition: () -> Boolean): ValidationResult(source)