hasService

wvc.hasService()
hasService(serviceName: ServiceName): boolean

Checks if a service is registered in the service registry.

Parameters

serviceName: ServiceName

The name of the service to check.

Returns: boolean

  • True if the service is registered, false otherwise.