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

This method overrides ReadOnlyFormCollection.unshift.

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

public unshift(
  ...items: readonly TForm[]
): number

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

Parameters

  • items (rest): readonly TForm[]
    Elements to insert at the start of the collection.

Returns: number

The new length of the collection.

See also

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