Skip to content

ObservableCollection.get

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

Gets the item at the provided index.

This is a public method.

public get(index: number): TItem

Parameters

  • index: Number, the index from which to retrieve an item.

Returns: TItem

Returns the item at the provided index.

Throws: RangeError

Thrown when the index is outside the bounds of the collection.

Clone this wiki locally