"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.getCellById = exports.getItem = void 0;
function getItem(name, value) {
    return { id: name, name: name, score: value };
}
exports.getItem = getItem;
function getCellById(id, table) {
    if (!id)
        return;
    return table.find(function (x) { return x.id === id; });
}
exports.getCellById = getCellById;
//# sourceMappingURL=riskUtils.js.map