extractPairs Method

Extracts the contents of this dictionary as an array of { key, value } pairs, and empties this dictionary.

extractPairs(): Array<{ key: K, value: V }>

Returns - Array<{ key: K, value: V }>

An array of { key, value } pairs sorted by key.

Defined in

Last Updated: 13 June, 2024