RuleType
public protocol RuleType : AnyObject
RuleType presents a rule that a text field value should follow.
Version
1.8.0Date
08/10/21-
Check if a given value is valid
Declaration
Swift
func isValid(value: String?) -> String?Parameters
valueThe value to check
Return Value
The error message if the value is invalid
RuleType Protocol Reference