Top method (dictionary)

Returns the specified number of items at the top of the dictionary.

Syntax

dictionary.Top(count)

Returns top count elements from dictionary.

If there are less than count elements in dictionary then dictionary is returned unchanged.