given_Conversion_Boolean_Result

object given_Conversion_Boolean_Result extends Conversion[Boolean, Result]

implicit definition to accept any boolean value as a Result This avoids writing b must beTrue

class Conversion[Boolean, Result]
trait Boolean => Result
class Object
trait Matchable
class Any

Value members

Concrete methods

def apply(b: Boolean): Result

Inherited methods

@unspecialized
def andThen[A](g: Result => A): Boolean => A
Inherited from:
Function1
@unspecialized
def compose[A](g: A => Boolean): A => Result
Inherited from:
Function1
override def toString(): String
Definition Classes
Function1 -> Any
Inherited from:
Function1

Extensions

Inherited extensions

extension (x: T)

x.convert converts a value x of type T to type U

x.convert converts a value x of type T to type U

Inherited from:
Conversion