method ProviderRegistry.prototype.has
ProviderRegistry.prototype.has(token: string): boolean

Reports whether a token is registered anywhere in this chain.

Parameters

token: string

The capability token

Return Type

boolean

true if registered locally or in a parent

Usage

import { ProviderRegistry } from "di-plugin/src/index.ts";