ObservableCollection.unshift - Andrei15193/react-model-view-viewmodel GitHub Wiki
API / ObservableCollection<TItem> / unshift method
This method overrides ReadOnlyObservableCollection.unshift.
Inserts new elements at the start of the collection, and returns the new length of the collection.
public unshift(
...items: readonly TItem[]
): number
Source reference: src/collections/observableCollections/ObservableCollection.ts:59
.
Returns: number
The new length of the collection.