orEmpty method

KtSet<T> orEmpty()

Returns this KtSet if it's not null and the empty set otherwise.

Implementation

KtSet<T> orEmpty() => this ?? KtSet<T>.empty();