FormCollection.set - Andrei15193/react-model-view-viewmodel GitHub Wiki
API / FormCollection<TForm, TValidationError> / set method
This method overrides ReadOnlyFormCollection.set.
Sets the provided item at the provided index.
public set(
index: number,
item: TForm
): number
Source reference: src/forms/FormCollection.ts:93
.
-
index:
number
The index to which to set the item. -
item: TForm
The item to set.
Returns: number
The length of the collection.