Page Contents
Home > @loopback/context > inspectInjections
inspectInjections() function
Inspect injections for a binding created with toClass or toProvider
Signature:
export declare function inspectInjections(binding: Readonly<Binding<unknown>>): JSONObject;
Parameters
| Parameter | Type | Description |
|---|---|---|
| binding | Readonly<[Binding](/doc/en/lb4/apidocs.context.binding.html)<unknown>> | Binding object |
Returns: