archethic-node
archethic-node copied to clipboard
Smart Contracts: Add `Map.has_key?`
Currently to check if a key in Map withing the SC interpreter, we have to do: Map.get(map, key) == nil
So in order to ease the development experience, I propose to add a function check if a key exists as: Map.has_key?