matcherFunctionToMatcher

given matcherFunctionToMatcher[T, R]: Conversion[T => Matcher[R], (=> T) => Matcher[R]]

this allows a function returning a matcher to be used where the same function with a byname parameter is expected

Value members

Concrete methods

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

Inherited methods

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

Extensions

Inherited extensions

extension (x: T)
def convert: (=> T) => Matcher[R]

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