deepCatalogContains

Function

Check that a specific entity is contained within a hierarchy of catalogs

Parameters

Parameter Type Default Notes
identifier Required string

id or slug of the entity to check

hubEntityType Required HubEntityType

Entity type of the identifier

path Required string
context Required IArcGISContext
rootCatalog Optional IHubCatalog

root level catalog to start checking from

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/deepCatalogContains.ts:19