gerson
2025-01-19 685d9561794856acec1b08c280900e85498492fb
1
2
exports.notEmpty = name => v =>
  !v || v.trim() === '' ? `${name} is required` : true