File size: 238 Bytes
bc20498 |
1 2 3 4 5 6 7 8 9 10 11 |
export function getOptionUpdater(options) {
return function (key, value) {
if (value === undefined)
return;
const store = options[key];
if (store) {
store.set(value);
}
};
}
|