Vapor Documentation Beta

Structure Validator​Results.​Nil

public struct Nil

ValidatorResult of a validator that validates that the data is nil.

%3 ValidatorResults.Nil ValidatorResults.Nil ValidatorResult ValidatorResult ValidatorResults.Nil->ValidatorResult

Member Of

ValidatorResults

Conforms To

ValidatorResult

Properties

is​Nil

let isNil: Bool

Input is nil.

is​Failure

var isFailure: Bool

success​Description

var successDescription: String?

failure​Description

var failureDescription: String?