Overview
By conforming to this protocol you can define your own custom validators.
Validator
.Framework
protocol ValidatorExpressible
By conforming to this protocol you can define your own custom validators.
var validator: Validator<Self.T>
Validator
that the conforming type exposes.func and<V>(V) -> Validator<Self.T>
Validator
by combining self
with another validator using “and” logic.func mapFailures ((ValidationFailure ) -> ValidationFailure ) -> Validator<Self.T>
ValidationFailure
.func or<V>(V) -> Validator<Self.T>
Validator
by combining self
with another validator using “or” logic.