UNPKG

@loopback/docs

Version:
30 lines (19 loc) 1.03 kB
--- lang: en title: 'API docs: metadata.inspectionoptions' keywords: LoopBack 4.0, LoopBack 4 sidebar: lb4_sidebar permalink: /doc/en/lb4/apidocs.metadata.inspectionoptions.html --- <!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [@loopback/metadata](./metadata.md) &gt; [InspectionOptions](./metadata.inspectionoptions.md) ## InspectionOptions interface Options for inspection <b>Signature:</b> ```typescript export interface InspectionOptions ``` ## Properties | Property | Type | Description | | --- | --- | --- | | [ownMetadataOnly](./metadata.inspectionoptions.ownmetadataonly.md) | <code>boolean</code> | Only inspect own metadata of a given target. The prototype chain will not be checked. The implementation uses <code>Reflect.getOwnMetadata()</code> if the flag is set to <code>true</code>. Otherwise, it uses <code>Reflect.getMetadata()</code>.<!-- -->The flag is <code>false</code> by default for <code>MetadataInspector</code>. |