Page Contents

Home > @loopback/metadata > InspectionOptions

InspectionOptions interface

Options for inspection


export interface InspectionOptions 


Property Type Description
ownMetadataOnly? 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.