The other alternative is to use the name not as an interface, but as a typealias instead for the given Kotlin functional type (in this case, (T) -> Boolean).
Odd things to look out for when converting code to Kotlin
Gabor Varadi
3807

Nice solution to the SAM conversion problem

Like what you read? Give Rufus a round of applause.

From a quick cheer to a standing ovation, clap to show how much you enjoyed this story.