Skip to content

You're viewing documentation for a pre-release version. View the latest stable version

Type Method

range(_:)

Validates that the data is within the supplied ClosedRange.
static func range(_ range: ClosedRange<T>) -> Validator<T>