Logo

Programming-Idioms

This language bar is your friend. Select your favorite languages!
  • Clojure

Idiom #170 Get map size

Set n to the number of elements stored in mymap.

This is not always equal to the map capacity.

(def n (count mymap))
auto n = mymap.size();

New implementation...
< >
programming-idioms.org