SplitScript reference / MapEntry<K, V> / key
MapEntry<K, V>.key
field
MapEntry<K, V>.key: K
Key stored by this entry.
The key is the same value that was supplied when the entry was inserted.
Examples
Read an entry key
let routes = Map.new<String, u32>()
routes["Atrium"] = 12
for entry in routes {
print(entry.key)
}