"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.getClassName = getClassName;
exports.isClass = isClass;
exports.uuid = uuid;
const uuid_1 = require("../helpers/utils/uuid");
function getClassName(value) {
    if (typeof value === 'function')
        return value.name || 'anonymous class';
    if (value && typeof value === 'object')
        return value.constructor?.name || 'anonymous class';
    return String(value);
}
function isClass(value) {
    return Boolean(typeof value === 'function' && value.prototype && value.prototype.constructor === value);
}
function uuid() {
    return (0, uuid_1.uuid7)();
}
//# sourceMappingURL=runtime.js.map