abstract class UnitWheneverAsserting extends AnyRef
Class holding lowest priority WheneverAsserting
implicit, which enables Whenever expressions that have result type Unit
.
- Source
- WheneverAsserting.scala
Linear Supertypes
Known Subclasses
Ordering
- Alphabetic
- By Inheritance
Inherited
- UnitWheneverAsserting
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new UnitWheneverAsserting()
Value Members
-
implicit
def
assertingNatureOfT[T]: WheneverAsserting[T] { type Result = Unit }
Provides support of WheneverAsserting for Unit.
Provides support of WheneverAsserting for Unit. Return
Unit
when the check succeeds, but throw DiscardedEvaluationException when check fails.