MCPcopy Index your code
hub / github.com/loopbackio/loopback-next / getBindingMetadata

Function getBindingMetadata

packages/context/src/binding-inspector.ts:145–152  ·  view source on GitHub ↗
(
  target: Function,
)

Source from the content-addressed store, hash-verified

143 * @typeParam T - Value type
144 */
145export function getBindingMetadata<T = unknown>(
146 target: Function,
147): BindingMetadata<T> | undefined {
148 return MetadataInspector.getClassMetadata<BindingMetadata<T>>(
149 BINDING_METADATA_KEY,
150 target,
151 );
152}
153
154/**
155 * A binding template function to delete `name` and `key` tags

Callers 2

bindingTemplateForFunction · 0.85

Calls 1

getClassMetadataMethod · 0.80

Tested by

no test coverage detected