ExpressionMatcher

Protocol that is the base protocol to conform for expression matchers like InequalityExpressionMatcher or RegexExpressionMatcher.

  • Method used to validate passed val parameter.

    Declaration

    Swift

    func validate(val: String) -> Bool

    Parameters

    val

    string value that will be used to match expression.

    Return Value

    true if value matches expression, otherwise false.