dictionary

.dictionary dictionary:{Map<String, Any>} -> Dictionary<*>

Makes the initialization of a dictionary explicit, to avoid ambiguity with collection initialization.

.var {dict}
.dictionary
- a:
- aa: 1
- ab: 2
- b:
- ba: 3
- bb: 4

.foreach {.dict}
It would not iterate key-value pairs properly without the explicit `.dictionary` call.

Return

the dictionary

Parameters

dictionary

dictionary to initialize