resultFunctionToMatcher

given resultFunctionToMatcher[T, R]: Conversion[T => R, Matcher[T]]

This method transforms a function returning a Result to a Matcher

Value members

Concrete methods

def apply(f: T => R): Matcher[T]

Inherited methods

@unspecialized
def andThen[A](g: Matcher[T] => A): T => R => A
Inherited from
Function1
@unspecialized
def compose[A](g: A => T => R): A => Matcher[T]
Inherited from
Function1
override def toString(): String
Definition Classes
Function1 -> Any
Inherited from
Function1

Extensions

Inherited extensions

extension (x: T)
def convert: Matcher[T]

x.convert converts a value x of type T to type U

x.convert converts a value x of type T to type U

Inherited from
Conversion