Function: mapGet()
mapGet<
K>(m,key):f64
Map lookup that returns na (NaN) for a missing key, like Pine's
map.get. Always use this instead of m.get(key): AssemblyScript's
Map.get aborts on a missing key, which traps and permanently disables the
strategy instance.
Type Parameters
K
K
Parameters
m
Map<K, f64>
key
K
Returns
f64