Files
rootandClaude Opus 5.5 fbc0302c24 Initial commit
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-09-29 16:54:42 +08:00

10 lines
154 B
JavaScript
Executable File

exports.notEmpty = name => {
return v => {
if (!v || v.trim === '') {
return `${name} is required`
} else {
return true
}
}
}