ComparePriority1

Allows comparison between A and B when A is a subtype of B

class Object
trait Matchable
class Any
object Compare.type

Implicits

Implicits

implicit def compareSubtypeWithSupertype[A, B](implicit ev: A <:< B): Compare[A, B]

Inherited implicits

implicit def compareSupertypeWithSubtype[A, B](implicit ev: A <:< B): Compare[B, A]
Inherited from:
ComparePriority2