Is there anything shorter than `Collections.unmodi...
# stdlib
m
Is there anything shorter than
Collections.unmodifiableList(someArray.toList())
?
l
miha-x64: Kotlin's `toList()`already returns a non mutable list.
m
@louiscad Not really. You can modify a list returned from
toList
in Java.