Files
lan-manager/web/node_modules/@antv/layout/es/util/number.js
openclaw 0a5f6a8047 Initial commit: Lan-manager project code
- Go backend (server/)
- Frontend (web/, server/static/)
- Database and deployment files
- Scripts and docs

Co-Authored-By: 狸花猫/Claude-Qwen3.6-Plus 🐾
2026-04-20 00:52:58 +08:00

7 lines
249 B
JavaScript

export const isNumber = (val) => typeof val === 'number';
export const isNaN = (num) => Number.isNaN(Number(num));
export const toNumber = (val) => {
const n = parseFloat(val);
return isNaN(n) ? val : n;
};
//# sourceMappingURL=number.js.map