map.clear
Removes all keys.
map.clear(id: map<K, V>)
Parameters
idmap<K, V>: The map; na stops the script with a runtime error (create it with map.new<K, V>() first).
Example
if session.isfirstbar
prices.clear()Removes all keys.
map.clear(id: map<K, V>)
id map<K, V>: The map; na stops the script with a runtime error (create it with map.new<K, V>() first).if session.isfirstbar
prices.clear()