Skip to content

Type Property

url

Validates whether a String is a valid URL.
static var url: Validator<String> { get }

Discussion

This validator will allow either file URLs, or URLs containing at least a scheme and a host.