AlphanumericCondition
public struct AlphanumericCondition : ConfigurableCondition
The AlphanumericCondition
checks a string for occurrences of letters and/or numbers.
-
Declaration
Swift
public var localizedViolationString: String
-
Declaration
Swift
public let regex: String
-
Declaration
Swift
public var shouldAllowViolation: Bool
-
Declaration
Swift
public let configuration: AlphanumericConfiguration
-
Declaration
Swift
public init(configuration: AlphanumericConfiguration)