const numeric = require('./numeric');
module.exports = asyncfunctionmax(field, value, maxNum) {
if (!(awaitnumeric(field, maxNum))) {
throw`Seed in max rule for ${field} must be a number.`;
}
if (Number(value) > Number(maxNum)) {
returnfalse;
}
returntrue;
};