kotest-assertions / io.kotest.assertions.eq / eq

eq

fun <T> eq(actual: T, expected: T): Throwable?

Locates the applicable Eq for the inputs, and invokes it, returning the error if any.