isHostedFeatureServiceMainEntity

Function

Determines whether an entity represents the main entity of a hosted feature service (i.e. the entity that was created when the service was published, not an entity that referenced the service via url after it was created)

NOTE: This check works for both hosted feature service entities created in ArcGIS Online and in ArcGIS Enterprise.

Parameters

Parameter Type Default Notes
content Required IHubEditableContent

content entity to check

Returns

boolean

Function defined in common/src/content/hostedServiceUtils.ts:61