first commit

This commit is contained in:
2025-02-20 15:04:05 +08:00
commit 1793865396
2243 changed files with 357784 additions and 0 deletions
+9
View File
@@ -0,0 +1,9 @@
exports.notEmpty = name => {
return v => {
if (!v || v.trim === '') {
return `${name} is required`
} else {
return true
}
}
}