---
lang: en
title: 'API docs: metadata.inspectionoptions'
keywords: LoopBack 4.0, LoopBack 4, Node.js, TypeScript, OpenAPI
sidebar: lb4_sidebar
editurl: https://github.com/loopbackio/loopback-next/tree/master/packages/metadata
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) | boolean | <i>(Optional)</i> 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>. |


