mm, seems this should work: ``` someListOfSealedCl...
# rx
t
mm, seems this should work:
Copy code
someListOfSealedClassStates
            .map { it::class }
            .fold(mutableListOf<KClass<out State>>()) { acc, current ->
                if (acc.lastOrNull() != current) acc.add(current)
                acc
            }