Extensions for kotlin.collections.Set

unmodifiable

expect fun <T> Set<T>.unmodifiable(): Set<T>

Freeze selected set. May do nothing on some platforms.