Skip to content

ReadOnlyObservableCollection.includes

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

Checks whether the provided item is contained by the collection.

This is a public method.

public includes(searchElement: TItem, fromIndex?: number): boolean

Parameters

  • searchElement: TItem, the item to search for.
  • fromIndex: Number, optional, the index from where to start the search.

Returns: Boolean

Returns true if the provided item is found in the collection; otherwise false.

See

Clone this wiki locally