StringMatcher

public enum StringMatcher

Note

Strings are compared case insensitiveely
  • any

    Matches any string

    Declaration

    Swift

    case any
  • Matches a single string

    Declaration

    Swift

    case one(String)
  • Matches many strings

    Declaration

    Swift

    case many([String])
  • Does this string match

    Declaration

    Swift

    public func matches(_ input: String?) -> Bool