extractPairs Method

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

extractPairs(): { key: K, value: V }[]

Returns - { key: K, value: V }[]

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

Defined in

Last Updated: 20 June, 2023