PropSyntax

trait PropSyntax
class Object
trait Matchable
class Any
trait Forms
object Forms

Extensions

Extensions

extension (p: Prop[T, T])
def must[T](m: Matcher[T]): Prop[T, T]

check the actual value with a matcher

check the actual value with a matcher

extension (p: Prop[T, T])
def checkWith[T, R](f: T => R)(using evidence$2: AsResult[R]): Prop[T, T]

check the actual value with a function

check the actual value with a function