Instance Propertyvapor 4.114.1Vapor
isFailure
NilIgnoring.swift:42var 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 NilIgnoring
ValidatorResult
of a validator that ignores nil values.
struct ValidatorResults
@frozen struct Bool
A value type whose instances are either true
or false
.
var failureDescription: String? { get }
let result: ValidatorResult?
Result of a validation or nil if the input is nil.
var successDescription: String? { get }