Vapor Documentation Beta

Structure Validator​Results.​URL

public struct URL

ValidatorResult of a validator that validates whether a string is a valid URL.

%3 ValidatorResults.URL ValidatorResults.URL ValidatorResult ValidatorResult ValidatorResults.URL->ValidatorResult

Member Of

ValidatorResults

Conforms To

ValidatorResult

Properties

is​Valid​URL

let isValidURL: Bool

The input is a valid URL.

is​Failure

var isFailure: Bool

success​Description

var successDescription: String?

failure​Description

var failureDescription: String?