Return Value
A new Validator
.
Validator
by combining self
with another validator using “or” logic.Framework
func or<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 only fails if both validators fail. Failures from both validators are combined.