mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-15 17:31:25 +08:00
6 lines
130 B
TypeScript
6 lines
130 B
TypeScript
|
const isNumeric = (value: any): boolean => {
|
||
|
return !isNaN(parseFloat(value)) && isFinite(value);
|
||
|
};
|
||
|
|
||
|
export default isNumeric;
|