-
Notifications
You must be signed in to change notification settings - Fork 2
IReadOnlyObservableCollection.includes
API / IReadOnlyObservableCollection<TItem> / includes method
Checks whether the provided item is in the collection.
includes(
item: TItem,
fromIndex?: number
): boolean
Source reference: src/collections/observableCollections/IReadOnlyObservableCollection.ts:87
.
-
item: TItem
The item to search for. -
fromIndex:
number
The index from where to start the search.
Returns: boolean
Returns true
if the provided item is found in the collection; otherwise false
.
Overview
Motivation
Guides and Tutorials - Getting Started
Releases
CodeSandbox
API
Events
IEvent
IEventHandler
EventDispatcher
ViewModels
INotifyPropertiesChanged
ViewModel
Forms
Form
IFormFieldConfig
FormField
ReadOnlyFormCollection
FormCollection
IConfigurableFormCollection
FormSetupCallback
Validation
IValidator
ValidatorCallback
IObjectValidator
IValidatable
Validation / Triggers
WellKnownValidationTrigger
ValidationTrigger
Observable Collection
ReadOnlyObservableCollection
ObservableCollection
INotifyCollectionChanged
CollectionChangeOperation
INotifyCollectionReordered
CollectionReorderOperation
Observable Map
ReadOnlyObservableMap
ObservableMap
INotifyMapChanged
MapChangeOperation
Observable Set
ReadOnlyObservableSet
ObservableSet
INotifySetChanged
SetChangeOperation
Dependency Handling
IDependencyResolver
IDependencyContainer
DependencyContainer
useDependency
useViewModelDependency
useDependencyResolver
React Hooks
useViewModel
useViewModelMemo
useObservableCollection
useObservableMap
useObservableSet