@jsreport/exceljs
Version:
Excel Workbook Manager - Read and Write xlsx and csv Files.
20 lines (15 loc) • 316 B
JavaScript
class DataValidations {
constructor(model) {
this.model = model || {};
}
add(address, validation) {
return (this.model[address] = validation);
}
find(address) {
return this.model[address];
}
remove(address) {
this.model[address] = undefined;
}
}
module.exports = DataValidations;