Skip to content

IReadOnlyObservableCollection.toArray

github-actions[bot] edited this page Dec 3, 2024 · 3 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