UNPKG

@inversifyjs/core

Version:

InversifyJs core package

7 lines 490 B
import { getOwnReflectMetadata } from '@inversifyjs/reflect-metadata-utils'; import { pendingClassMetadataCountReflectKey } from '../../reflectMetadata/data/pendingClassMetadataCountReflectKey.js'; export function isPendingClassMetadata(type) { const pendingClassMetadataCount = getOwnReflectMetadata(type, pendingClassMetadataCountReflectKey); return (pendingClassMetadataCount !== undefined && pendingClassMetadataCount !== 0); } //# sourceMappingURL=isPendingClassMetadata.js.map