singleOrNull

override fun singleOrNull(): T?

Get the single element or null if not found.


override fun singleOrNull(condition: T.() -> Boolean): T?