Star
Docs/v5/OrderedCollection

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.

toArray(): Array<T>

Iterators

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

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