Skip to content

MAP_count

BigETI edited this page May 4, 2018 · 1 revision

Description

Count the nodes in map

Returns

Number of nodes in map

Syntax

MAP_count(Map:map)

Example

new Map:map;
MAP_insert_val_val(map, 1, 2);
MAP_insert_val_val(map, 3, 4);
MAP_insert_val_val(map, 5, 6);
printf("Number of nodes in map: %d", MAP_count(map));