Skip to content

FormCollection.unshift

github-actions[bot] edited this page Nov 17, 2024 · 2 revisions

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

Clone this wiki locally