Page Contents

Home > @loopback/metadata > InspectionOptions

InspectionOptions interface

Options for inspection

Signature:

export interface InspectionOptions 

Properties

Property Modifiers Type Description
ownMetadataOnly?   boolean <p>(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().</p><p>The flag is false by default for MetadataInspector.</p>