Skip to content

ReadOnlyObservableCollection.unshift

Andrei Fangli edited this page Jul 4, 2021 · 1 revision

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

This is a protected method.

protected 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