fuzion-lang.dev — The Fuzion Language Portal
JavaScript seems to be disabled. Functionality is limited.
Fuzion
•
Idioms
•
Idiom # 170: Get map size
Idiom # 170: Get map size
See
programming-idioms.org
:
Code
n := mymap.size
What are effects?
Running Example
ex170 is mymap := ((container.ps_map String String).type.new ["one", "two", "three", "four", "five"] ["一", "二", "三", "四", "五"] ) n := mymap.size say "size is $n"
What are effects?
last changed: 2024-07-01
next: Idiom # 171: Add an element at the end of a list