Page Contents
Home > @loopback/metadata > InspectionOptions
InspectionOptions interface
Options for inspection
Signature:
export interface InspectionOptions
Properties
| Property | Modifiers | Type | Description |
|---|---|---|---|
| [ownMetadataOnly?](/doc/en/lb4/apidocs.metadata.inspectionoptions.ownmetadataonly.html) | boolean | _(Optional)_ Only inspect own metadata of a given target. The prototype chain will not be checked. The implementation uses `Reflect.getOwnMetadata()` if the flag is set to `true`. Otherwise, it uses `Reflect.getMetadata()`. The flag is `false` by default for `MetadataInspector`. |