catalogContains

Function

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
identifier string
isContained boolean
catalogInfo Optional Record<stringICatalogInfo>

Cacheable information about the catalogs

duration Optional number

How long did it take to check containment?

reason Optional string

If the entity is not contained, this will be populated with a reason


Function defined in common/src/core/catalogContains.ts:20