I have a map with this structure:
{
1: {},
2: {}
}
And I'd like to delete 2: {} from it (of course - return new collection without this). How can I do it? I tried this, but something is wrong:
theFormerMap.deleteIn([],2) //[] should mean that it's right in the root of the map, and 2 is the name of the object I want to get rid of