def isMatch()

in app/utils/filter.scala [39:47]


  def isMatch(map: Map[String, String]): Boolean = {
    filter.map { case (field, values) =>
      val value = map.get(field)
      value match {
        case None         => true // no constraint? then match
        case Some(string) => values exists (_.isMatch(string))
      }
    } forall (ok => ok)
  }