This commit is contained in:
2023-08-11 10:45:20 +08:00
commit 161ca982f3
31850 changed files with 2706500 additions and 0 deletions

11
node_modules/vant/es/utils/validate/number.js generated vendored Normal file
View File

@ -0,0 +1,11 @@
export function isNumeric(val) {
return /^\d+(\.\d+)?$/.test(val);
}
export function isNaN(val) {
if (Number.isNaN) {
return Number.isNaN(val);
} // eslint-disable-next-line no-self-compare
return val !== val;
}