Skip to content

IReadOnlyObservableCollection.toArray

github-actions[bot] edited this page Feb 4, 2025 · 4 revisions

Converts the observable collection to a native JavaScript Array.

toArray(): TItem[]

Source reference: src/collections/observableCollections/IReadOnlyObservableCollection.ts:281.

Returns: TItem[]

An Array containing all the items in the collection.

Clone this wiki locally