Skip to content

IObservableCollection.unshift

Andrei Fangli edited this page Jul 4, 2021 · 3 revisions
API / IObservableCollection<TItem> / unshift method

Inserts new elements at the start of the collection, and returns the new length of the collection.

unshift(...items: readonly TItem[]): number

Parameters

  • items: readonly TItem[], elements to insert at the start of the collection.

Returns: Number

Returns the new length of the collection.

See

Clone this wiki locally