ExpressionMatcher
Protocol that is the base protocol to conform for expression matchers like
InequalityExpressionMatcher or RegexExpressionMatcher.
-
Method used to validate passed
valparameter.Declaration
Swift
func validate(val: String) -> BoolParameters
valstring value that will be used to match expression.
Return Value
trueif value matches expression, otherwisefalse.
View on GitHub
ExpressionMatcher Protocol Reference