method IServiceRegistry.has
IServiceRegistry.has(token: CapabilityToken): boolean

Reports whether a capability is available.

Parameters

The capability token to look up

Return Type

boolean

true if at least one provider is registered

Usage

import { type IServiceRegistry } from "common/src/index.ts";