/
githubmirror
/
immutable-js
Обзор
Документация
Войти
/
githubmirror
/
immutable-js
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
v5.1.3
website/docs/OrderedCollection.mdx
22 строки
603 B
Julien Deniau
Doc as mdx instead of export from .d.ts file (#2104)
24 май 2025, 00:47
Не верифицирован
24 май 2025, 00:47
21de701
Код
Авторство
О чём код?
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>" /> <MemberLabel label="[Symbol.iterator]()" /> Returns an iterator that iterates over the values in this collection. <Signature code="[Symbol.iterator](): IterableIterator<T>" />