Returns the number of entries in the supplied map.
map:size
( $map
as map(*)
xs:integer
The function map:size
takes any map
as its $map
argument and returns the number of entries that are present
in the map.
The expression map:size(map{})
returns 0
.
The expression map:size(map{"true":1, "false":0})
returns 2
.