conversionOk

given conversionOk[T, U](using val ev: Conversion[T, U]): ConversionOrSubtype[T, U]

Value members

Concrete methods

override def apply(v1: T): U
Definition Classes
Conversion -> Function1

Inherited methods

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

Concrete fields

protected val ev: Conversion[T, U]

Extensions

Inherited extensions

extension (x: T)
def convert: U

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