What is the problem with
emptyMap are different. There isn’t any other way to get what they provide since they are backed by a special implementation of
Map also there isn’t a literal you can use for them. We don’t use
That all said if you need a function/property for this for any reason feel free to add this to your project. I just don’t see any reason why we need this in the standard library.