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

map harfbuzz.map.Map

A map

idx int

Iterator internal state

key harfbuzz.types.Codepoint

Key retrieved

value harfbuzz.types.Codepoint

Value retrieved

Return Value

Type: harfbuzz.types.Bool

true if there was a next value, false otherwise