Page Contents
Home > @loopback/metadata > MetadataAccessor
MetadataAccessor class
A strongly-typed metadata accessor via reflection
Signature:
export declare class MetadataAccessor<T, D extends DecoratorType = DecoratorType>
Properties
Property | Modifiers | Type | Description |
---|---|---|---|
key | readonly |
string |
Methods
Method | Modifiers | Description |
---|---|---|
create(key) | static |
Create a strongly-typed metadata accessor |
toString() |