orEmpty method
Returns this KtCollection if it's not null
and the empty list otherwise.
Implementation
KtCollection<T> orEmpty() => this ?? KtList<T>.empty();
Returns this KtCollection if it's not null
and the empty list otherwise.
KtCollection<T> orEmpty() => this ?? KtList<T>.empty();