Packages

object Matcher

Companion object for trait Matcher that provides a factory method that creates a Matcher[T] from a passed function of type (T => MatchResult).

Source
Matcher.scala
Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Matcher
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. def apply[T](fun: (T) ⇒ MatchResult)(implicit ev: ClassTag[T]): Matcher[T]

    Factory method that creates a Matcher[T] from a passed function of type (T => MatchResult).

    Factory method that creates a Matcher[T] from a passed function of type (T => MatchResult).