UNPKG

@loopback/docs

Version:
37 lines (24 loc) 1.03 kB
--- lang: en title: 'API docs: metadata.metadataaccessor' keywords: LoopBack 4.0, LoopBack 4 sidebar: lb4_sidebar permalink: /doc/en/lb4/apidocs.metadata.metadataaccessor.html --- <!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [@loopback/metadata](./metadata.md) &gt; [MetadataAccessor](./metadata.metadataaccessor.md) ## MetadataAccessor class A strongly-typed metadata accessor via reflection <b>Signature:</b> ```typescript export declare class MetadataAccessor<T, D extends DecoratorType = DecoratorType> ``` ## Properties | Property | Modifiers | Type | Description | | --- | --- | --- | --- | | [key](./metadata.metadataaccessor.key.md) | | <code>string</code> | | ## Methods | Method | Modifiers | Description | | --- | --- | --- | | [create(key)](./metadata.metadataaccessor.create.md) | <code>static</code> | Create a strongly-typed metadata accessor | | [toString()](./metadata.metadataaccessor.tostring.md) | | |