OrderedCollection

Interface representing all oredered collections. This includes List, Stack, Map, OrderedMap, Set, and OrderedSet. return of isOrdered() return true in that case.

Members

Shallowly converts this collection to an Array.

Method signature

toArray(): Array<T>

Returns an iterator that iterates over the values in this collection.

Method signature

[Symbol.iterator](): IterableIterator<T>
;