first commit

This commit is contained in:
2025-10-10 18:00:07 -04:00
commit 06b59a3a99
3786 changed files with 571590 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
/*
versionを表した数字とdotの文字列か
セーフ
1
1.2
1.2.3
1.2.3.4
アウト
1.2A
其の弐
*/
function isVersion(arg){
return typeof arg==='string' && /^\d(|[0-9.]*\d)$/.test(arg);
}
export default isVersion;