map.size
Number of keys.
map.size(id: map<K, V>) -> int
Parameters
idmap<K, V>: The map; na stops the script with a runtime error (create it with map.new<K, V>() first).
Example
n = prices.size()
Number of keys.
map.size(id: map<K, V>) -> int
id map<K, V>: The map; na stops the script with a runtime error (create it with map.new<K, V>() first).n = prices.size()