Ensuring

final implicit class Ensuring[A](self: A) extends AnyVal
class AnyVal
trait Matchable
class Any

Value members

Concrete methods

def ensuring(cond: Boolean): A
def ensuring(cond: Boolean, msg: => Any): A
def ensuring(cond: A => Boolean): A
def ensuring(cond: A => Boolean, msg: => Any): A