ReadOnlyObservableCollection.shift - Andrei15193/react-model-view-viewmodel GitHub Wiki

Removes the first element from the collection and returns it. If the collection is empty, undefined is returned.

protected shift(): undefined | TItem

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

Returns: undefined | TItem

The first element in the collection that was removed.

See also

⚠️ **GitHub.com Fallback** ⚠️