"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.discriminate = void 0;
function discriminate(discriminantKey, discriminantValue) {
    return (obj) => obj[discriminantKey] === discriminantValue;
}
exports.discriminate = discriminate;
//# sourceMappingURL=discriminate.js.map