mapNext

Fetches the next key/value pair in map.

Set idx to -1 to get started.

If the map is modified during iteration, the behavior is undefined.

The order in which the key/values are returned is undefined.

Parameters

mapA map
idxIterator internal state
keyKey retrieved
valueValue retrieved

Returns

true if there was a next value, false otherwise