com.bazaarvoice.support.scala.control
These wrappers for assert and require allow you to execute a block of code conditionally:
val result = withRequire(input == "valid") { foo(input) }
These wrappers for assert and require allow you to execute a block of code conditionally:
val result = withRequire(input == "valid") { foo(input) }