PropSyntax

class Object
trait Matchable
class Any
trait Forms
object Forms.type

Extensions

Extensions

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

check the actual value with a matcher

check the actual value with a matcher

extension [T, R](p: Prop[T, T])
def checkWith(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