test

fun test(lhs: Any?, rhs: Any?): Boolean

Tests two objects against this predicate.

This overload is to allow any objects to use this predicate operation, as the operations are provided by Any.equals instead of Comparable.


open override fun <T : Comparable<T>> test(lhs: T, rhs: T): Boolean

Tests two Comparable objects against this predicate.