archethic-node icon indicating copy to clipboard operation
archethic-node copied to clipboard

Smart Contracts: Add `Map.has_key?`

Open samuelmanzanera opened this issue 1 year ago • 0 comments

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?

samuelmanzanera avatar Sep 08 '23 15:09 samuelmanzanera