Fuzion Logo
fuzion-lang.dev — The Fuzion Language Portal
JavaScript seems to be disabled. Functionality is limited.

mapOf

🌌mapOf

§  mapOf(K (ordered mapOf.K).
type
, V 
type
, kvs array (tuple mapOf.K mapOf.V))
 => 
map mapOf.K mapOf.V
:
Object 

mapOf -- routine to initialize a map from an array of key value tuples

This feature creates an instance of a map.

example: mapOf [(key1, value1), (key2, value2)]