I imagine you’re trying to create like a dictionar...
# getting-started
t
I imagine you’re trying to create like a dictionary type thing where, for example:
Copy code
val map = mutableMapOf("fruits" to mutableSetOf("apple", "banana", "orange", "cherry"))

fun putValueInAppropriateCategory(value: String, key: String, map: MutableMap<String, MutableSet<String>>) {
    map[key] + value
}
👍 1