FormCollection.pop - Andrei15193/react-model-view-viewmodel GitHub Wiki
API / FormCollection<TForm, TValidationError> / pop method
This method overrides ReadOnlyFormCollection.pop.
Removes the last element from the collection and returns it. If the collection is empty, undefined
is returned.
public pop(): undefined | TForm
Source reference: src/forms/FormCollection.ts:54
.
Returns: undefined
| TForm
The last element in the collection that was removed.