Skip to content

IObservableCollection.set

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

Sets the provided item at the provided index.

set(
  index: number,
  item: TItem
): number

Source reference: src/collections/observableCollections/IObservableCollection.ts:59.

Parameters

  • index: number
    The index to which to set the item.

  • item: TItem
    The item to set.

Returns: number

The length of the collection.

Clone this wiki locally