Unable to remove a HashMap entry by key object even when the key is confirmed to exist using Java HashMap in Kotlin
I need help understanding why I can’t remove an entry from a hashmap by an data class object key.
Getting “key” from hashMapOf
I want to get my keys from my hashMapOf but when I tried, my values come as well. How can I get just my keys?