A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://docs.dhtmlx.com/suite/data_collection/api/datacollection_exists_method/ below:

Website Navigation


JavaScript DataCollection - exists Method

exists()

checks whether the specified item exists in the component

exists(id: string | number): boolean;

Parameters: Returns:

true, if the item exists; otherwise, false.

Example

const item = component.data.exists("1"); 

Related sample: Data. Exists


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4