validate Field
fun Array<Validator>.validateField(fieldValue: Any?, pass: Validator.() -> Boolean, fail: Validator.() -> Boolean): Boolean
Verify the value of a field using a list of validators
Receiver
Return
Is pass all validators
Parameters
field Value
Field that need to be verified
pass
Verification success callback
fail
Verification failure callback