Skip to content
It's Vapor Week! Celebrating 10 Years of Vapor Read more

Operator

||(_:_:)

Combines two Validators, succeeding if either of the Validators does not fail.
func || <T>(lhs: Validator<T>, rhs: Validator<T>) -> Validator<T> where T : Decodable, T : Sendable