API Reference › Dict › Dict.remove
method

Dict.remove

Dict.remove(d, key)

Removes key from the map (a no-op if it is absent). Later lookups of other keys are unaffected.

Example

program Demo {
  handler Step phase Update {
    Dict.remove(bank, "wood")
  }
}
← All symbols