@dipscope/type-manager
Version:
Transform JSON strings or plain objects into JS class instances.
7 lines • 323 B
JavaScript
export function getReflectMetadata(metadataKey, target, propertyKey) {
if (typeof Reflect === 'object' && Reflect !== null && typeof Reflect.getMetadata === 'function') {
return Reflect.getMetadata(metadataKey, target, propertyKey);
}
return undefined;
}
//# sourceMappingURL=get-reflect-metadata.js.map