Files
SnowLuma/.pnpm-store/v11/files/7e/846f9ab7eec5f158212a8a15c008a588c0080caa715a9b128c8b810f3354a4c271f824ca1f7cc4166ec1310964f24a606fc96e1a2efab900043efd0a9a8010
T
TanTan 2a69b23b47
Dev Build / cleanup (push) Waiting to run
Dev Build / typecheck (push) Waiting to run
docs: 仓库链接指向本镜像仓库
2026-11-13 09:27:07 +08:00

8 lines
259 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 };
//# sourceMappingURL=is-numerical-string.mjs.map