ValueCheck

trait ValueCheck[T]

Common interface for checks of a value of type T:

  • a expected single value of type T
  • a Matcher[T]
  • a function returning a type R having an AsResult instance
Companion:
object
class Object
trait Matchable
class Any

Value members

Abstract methods

def check: T => Result
def checkNot: T => Result

Concrete methods