URLShorthandCondition
public struct URLShorthandCondition : Condition
The URLShorthandCondition checks a string for a valid URL.
Note
No scheme (protocol) is needed for a valid URL. If you want a check for more strict URLs seeURLCondition.
-
Declaration
Swift
public var localizedViolationString: String -
Declaration
Swift
public let regex: String -
Declaration
Swift
public var shouldAllowViolation: Bool
-
Declaration
Swift
public init()
View on GitHub
URLShorthandCondition Structure Reference