Vapor Documentation Beta

Structure Validator​Results.​Nil​Ignoring

public struct NilIgnoring

ValidatorResult of a validator that ignores nil values.

%3 ValidatorResults.NilIgnoring ValidatorResults.NilIgnoring ValidatorResult ValidatorResult ValidatorResults.NilIgnoring->ValidatorResult

Member Of

ValidatorResults

Conforms To

ValidatorResult

Properties

result

let result: ValidatorResult?

Result of a validation or nil if the input is nil.

is​Failure

var isFailure: Bool

success​Description

var successDescription: String?

failure​Description

var failureDescription: String?