Skip to content

ReadOnlyObservableCollection.toArray

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

Converts the observable collection to a native JavaScript Array.

public toArray(): TItem[]

Source reference: src/collections/observableCollections/ReadOnlyObservableCollection.ts:708.

Returns: TItem[]

An Array containing all the items in the collection.

Clone this wiki locally