Skip to content

IReadOnlyObservableCollection.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.

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

Source reference: src/collections/observableCollections/IReadOnlyObservableCollection.ts:173.

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