why I dont have any `associatedWithTo` on `Enum.va...
# announcements
e
why I dont have any
associatedWithTo
on
Enum.values()
(
Array<T>
)? https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/associate-with-to.html
f
Looks like it's defined for `Iterable`s but not `Array`s for some reason, you could do
Enum.values().toList().associateWithTo
p
Or
array.asIterable()
e
thanks