Equivalence

Companion object for trait Equivalence that provides a factory method for producing default Equivalence instances.

Companion:
class
Source:
Equivalence.scala
class Object
trait Matchable
class Any

Implicits

Implicits

implicit def default[T]: Equivalence[T]

Provides default Equivalence implementations for the specified type whose areEqual method first calls .deep on any Array (on either the left or right side), then compares the resulting objects with ==.

Provides default Equivalence implementations for the specified type whose areEqual method first calls .deep on any Array (on either the left or right side), then compares the resulting objects with ==.

Returns:

a default Equivalence[T]

Source:
Equivalence.scala