Return Value
A new Validator
.
Validator
by combining self
with another validator using “and” logic.Framework
func and<V>(_ other: V) -> Validator<Self.T> where V : ValidatorExpressible , Self.T == V.T
A new Validator
.
other
A Validator
to combine with self
.
The resulting validator fails if either of the validators fail. Failures from both validators are combined.