Fuzion Logo
fuzion-lang.dev — The Fuzion Language Portal
»

map_of

container.map_of

(K 
type
:
property.orderable, V 
type
, kvs array (tuple K V))
 => 
container.Map K V
[Contains abstract features]
map_of -- routine to initialize a map from an array of key value tuples

This feature creates an instance of a map.

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

Type Parameters

0.094dev (2025-06-18 15:08:51 GIT hash 89cffc23ae669b0898a5564fefbf793fcb8e5ca7 built by fridi@fzen)