mirror of
https://github.com/youzan/vant.git
synced 2025-10-20 10:44:59 +00:00
[type] raf (#2699)
This commit is contained in:
3
packages/utils/validate/number.ts
Normal file
3
packages/utils/validate/number.ts
Normal file
@@ -0,0 +1,3 @@
|
||||
export default function number(value: string): boolean {
|
||||
return /^\d+$/.test(value);
|
||||
}
|
Reference in New Issue
Block a user