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 An array of { key, value } pairs sorted by key.

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

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

Defined in

Last Updated: 16 May, 2024