single

override fun single(): T

Get the single element or throw an exception if there is no such element or more than one element.


override fun single(condition: T.() -> Boolean): T