catalogContains
Given an identifier and a catalog, check if the catalog contains the identifier. Optionally, pass in the
Parameters
Parameter | Type | Default | Notes |
---|---|---|---|
identifier Required | string | ||
catalog Required | IHubCatalog | ||
context Required | IArcGISContext | ||
options Optional | IContainsOptions | {} |
Returns
Property | Type | Notes |
---|---|---|
string | ||
boolean | ||
Optional | Record<stringICatalogInfo> |
Cacheable information about the catalogs |
Optional | number |
How long did it take to check containment? |
Optional | string |
If the entity is not contained, this will be populated with a reason |
Function defined in common/src/core/catalogContains.ts:20