"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.getEnumKeyByEnumValue = void 0;
const getEnumKeyByEnumValue = (myEnum, enumValue) => {
    let keys = Object.keys(myEnum).filter((x) => myEnum[x] == enumValue);
    return keys.length > 0 ? keys[0] : null;
};
exports.getEnumKeyByEnumValue = getEnumKeyByEnumValue;
