Skip to content

ReadOnlyObservableCollection.concat

github-actions[bot] edited this page Feb 4, 2025 · 4 revisions

Merges the current collection with the given Array and returns a new JavaScript Array.

public concat(
  ...items: readonly (TItem | readonly TItem[])[]
): TItem[]

Source reference: src/collections/observableCollections/ReadOnlyObservableCollection.ts:201.

Parameters

Returns: TItem[]

Returns a new Array containing the items of this collection followed by the items in the provided Array.

See also

Clone this wiki locally