hasServiceCapability

Function

Returns a whether a service has a capability

  • hasServiceCapability(capability: ServiceCapabilities, serviceDefinition: Partial<IFeatureServiceDefinition>) : boolean

Parameters

Parameter Type Default Notes
capability Required ServiceCapabilities
serviceDefinition Required Partial<IFeatureServiceDefinition>

Returns

boolean

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