Page Contents

Home > @loopback/metadata > NamespacedReflect > metadata

NamespacedReflect.metadata() method

Signature:

metadata(metadataKey: string, metadataValue: any): {
        (target: Function): void;
        (target: Object, targetKey: string | symbol): void;
    };

Parameters

Parameter Type Description
metadataKey string  
metadataValue any  

Returns:

{ (target: Function): void; (target: Object, targetKey: string | symbol): void; }