UNPKG

@dolittle/sdk.common

Version:

Dolittle is a decentralized, distributed, event-driven microservice platform built to harness the power of events.

10 lines 617 B
import { Constructor } from '@dolittle/types'; /** * Checks whether or not the metadata of the specified type has the named data. * @param {string} name - The metadata name to check for. * @param {Constructor<any>} type - The type to check metadata on. * @param {boolean} [createMetadata] - An optional boolean to specify whether or not to create the metadata map if it doesn't exist. * @returns {boolean} True if it is set, false if not. */ export declare function hasDecoratorMetadata(name: string, type: Constructor<any>, createMetadata?: boolean): boolean; //# sourceMappingURL=hasDecoratorMetadata.d.ts.map