Skip to content

ReadOnlyObservableCollection.concat

Andrei Fangli edited this page Sep 3, 2023 · 2 revisions

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

This is a public method.

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

Parameters

  • items: readonly TItem[], the items to concatenate.

Returns: TItem[]

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

See


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

This is a public method.

public concat(...items: readonly ConcatArray<TItem>[]): TItem[]

Parameters

  • items: readonly ConcatArray<TItem>, the items to concatenate.

Returns: TItem[]

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

See

Clone this wiki locally