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

This method overrides ReadOnlyFormCollection.shift.

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

public shift(): undefined | TForm

Source reference: src/forms/FormCollection.ts:73.

Returns: undefined | TForm

The first element in the collection that was removed.

See also

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