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")
}
}Dict.remove(d, key)
Removes key from the map (a no-op if it is absent). Later lookups of other keys are unaffected.
program Demo {
handler Step phase Update {
Dict.remove(bank, "wood")
}
}