Removing all items of a given value from Map

Hi,

I would basically want to do this:
hmap.values().removeAll(Collections.singleton(“Two”));

Can I do that in Unreal?

Sadly, it is not Implemented in TMap. It works.

for (auto It = MyMap.CreateConstIterator(); It; ++It)
{
	UMyType* LoopValue = It.Value();
	if (ValueToRemove == LoopValue)
	{
		MyMap.Remove(It.Key());
	}
}