Instance Propertyvapor 4.114.1Vapor
isFailure
And.swift:21var isFailure: Bool { get }
var isFailure: Bool { get }
import Vapor
Vapor is a framework for building server applications, APIs and websites in Swift. It provides a safe, performant and scalable foundation for building large complex backends.
struct And
ValidatorResult
of “And” Validator
that combines two ValidatorResults
. If both results are successful the combined result is as well.
struct ValidatorResults
@frozen struct Bool
A value type whose instances are either true
or false
.
var failureDescription: String? { get }
let left: ValidatorResult
ValidatorResult
of left hand side of the “And” validation.
let right: ValidatorResult
ValidatorResult
of right hand side of the “And” validation.
var successDescription: String? { get }