Hey! What is the reason why the signature of the `...
# kotest
g
Hey! What is the reason why the signature of the
shouldBeSortedBy
transformation is
(T) -> E
(without
null
support)? The
sortedBy
function from Kotlin stdlib perfectly accepts transformation to potentially null values (
(T) -> R?
), where nulls will be treated as "less than any value". I would expected KoTest's
shouldBeSortedBy
to behave the same way