RangeCondition
public struct RangeCondition : ConfigurableCondition
The RangeCondition
validates the length of a string.
-
Declaration
Swift
public var localizedViolationString: String
-
Declaration
Swift
public let regex: String
-
Declaration
Swift
public var shouldAllowViolation: Bool
-
Declaration
Swift
public let configuration: RangeConfiguration
-
Declaration
Swift
public init(configuration: RangeConfiguration)