Page Contents

Home > @loopback/context > getBindingMetadata

getBindingMetadata() function

Get binding metadata for a class

Signature:

export declare function getBindingMetadata<T = unknown>(target: Function): BindingMetadata<T> | undefined;

Parameters

Parameter Type Description
target Function The target class

Returns:

BindingMetadata<T> | undefined