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 -> Bool

    Return Value

    true if the string is valid. Otherwise, returns false.