toMap¶
Convert input to a map< K, V >.
Parameters:
No. | Type | Comments |
---|---|---|
1 | list< T > or set< T > of tuple< :T1, :T2, .. > with 2 values | Input to convert to a map |
Returns:
map<K,V>
- Value as a map.
Usages:
toMap( v:list< tuple<K, V> > ) : map<K,V>