Skip to content

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

Type Method

custom(_:validationClosure:)

Validates whether a String matches a RegularExpression pattern
static func custom(_ validationDescription: String, validationClosure: @Sendable @escaping (T) -> Bool) -> Validator<T>