Vapor Documentation Beta

Structure Validator​Results.​Empty

public struct Empty

ValidatorResult of a validator that validates whether the data is empty.

%3 ValidatorResults.Empty ValidatorResults.Empty ValidatorResult ValidatorResult ValidatorResults.Empty->ValidatorResult

Member Of

ValidatorResults

Conforms To

ValidatorResult

Properties

is​Empty

let isEmpty: Bool

The input is empty.

is​Failure

var isFailure: Bool

success​Description

var successDescription: String?

failure​Description

var failureDescription: String?