RSDTextValidator
public protocol RSDTextValidator
Undocumented
-
Whether or not the text is considered valid.
Throws
Error if the regular expression cannot be instantiated.Declaration
Swift
func isValid(_ string: String) throws -> BoolReturn Value
trueif the string is valid. Otherwise, returnsfalse.
View on GitHub
RSDTextValidator Protocol Reference