stoyicker
02/18/2017, 6:19 PMImmutableList?miha-x64
02/18/2017, 6:31 PMif (list !is MutableList) {, it is, probably, immutable. }stoyicker
02/18/2017, 6:32 PMvoddan
02/18/2017, 6:37 PMvoddan
02/18/2017, 6:39 PMlistOf sometimes returns an immutable list, sometimes it returns an ArrayList, which is mutable, but still complies to read-only List