CompileVariants

Companion:
object
class Object
trait Matchable
class Any

Value members

Concrete methods

inline def assert[A](inline value: => A)(inline assertion: Assertion[A]): TestResult
inline def assertM[R, E, A](effect: ZIO[R, E, A])(assertion: AssertionM[A]): ZIO[R, E, TestResult]
inline def assertTrue(inline exprs: => Boolean*): Assert
inline def typeCheck(inline code: String): UIO[Either[String, Unit]]

Returns either Right if the specified string type checks as valid Scala code or Left with an error message otherwise. Dies with a runtime exception if specified string cannot be parsed or is not a known value at compile time.

Returns either Right if the specified string type checks as valid Scala code or Left with an error message otherwise. Dies with a runtime exception if specified string cannot be parsed or is not a known value at compile time.