PostcodeCondition
public struct PostcodeCondition : ConfigurableCondition
The PostcodeCondition
checks a string for a post code.
-
Declaration
Swift
public var localizedViolationString: String
-
Declaration
Swift
public var regex: String { get }
-
Declaration
Swift
public var shouldAllowViolation: Bool
-
Declaration
Swift
public var configuration: PostcodeConfiguration
-
Declaration
Swift
public init(configuration: PostcodeConfiguration)