Files
NapCatQQ/.pnpm-store/v3/files/f0/1e4f1c0acdd96521b80617b80d802c09133ab2acb7460ab702459552093eb9ff9441b009096bf5c2430e762486a92cfff79251bcfbd971a493ea3b3744d0bf
TanTan e311ca3275
Build NapCat Artifacts / Windows Loader Test (push) Canceled after 0s
Build NapCat Artifacts / Type Check & Test (push) Canceled after 0s
Build NapCat Artifacts / Build NapCat.Framework (push) Canceled after 0s
Build NapCat Artifacts / Build NapCat.Shell (push) Canceled after 0s
docs: 仓库链接指向本镜像仓库
2026-11-13 09:25:58 +08:00

7 lines
210 B
Plaintext

/**
* Check if value is a numerical string, ie a string that is purely a number eg "100" or "-100.1"
*/
const isNumericalString = (v) => /^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(v);
export { isNumericalString };