/
githubmirror
/
immutable-js
Обзор
Документация
Войти
/
githubmirror
/
immutable-js
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
website/docs/OrderedCollection.mdx
24 строки
618 B
Hashim Khan
docs: place [Symbol.iterator] under Iterators headings
22 июл 2026, 23:12
22 июл 2026, 23:12
c3d810d
Код
Авторство
О чём код?
import Repl from '@/repl/Repl.tsx'; import CodeLink from '@/mdx-components/CodeLink.tsx'; # OrderedCollection Interface representing all oredered collections. This includes `List`, `Stack`, `Map`, `OrderedMap`, `Set`, and `OrderedSet`. return of `isOrdered()` return true in that case. ## Members <MemberLabel label="toArray" /> Shallowly converts this collection to an Array. <Signature code="toArray(): Array<T>" /> ## Iterators <MemberLabel label="[Symbol.iterator]()" /> Returns an iterator that iterates over the values in this collection. <Signature code="[Symbol.iterator](): IterableIterator<T>" />