Page Contents
Home > @loopback/metadata > NamespacedReflect > hasOwnMetadata
NamespacedReflect.hasOwnMetadata() method
Signature:
hasOwnMetadata(metadataKey: string, target: Object, propertyKey?: string): boolean;
Parameters
Parameter | Type | Description |
---|---|---|
metadataKey | string | |
target | Object | |
propertyKey | string | (Optional) |
Returns:
boolean