`map.keys.removeAll { ... }`?
# getting-started
p
map.keys.removeAll { ... }
?