Is it possible to get map length/size? For some reason, I need to know the size of the map for debugging purposes.
I cant seem to do something like this:
map = new Map<Int, MyObject>();
map.set(.., ..);
map.set(.., ..);
map.length // should be 2
I hope this is possible. If its not, why?