5 lines
113 B
TypeScript
5 lines
113 B
TypeScript
|
const isNumeric = value => {
|
||
|
return !isNaN(parseFloat(value)) && isFinite(value);
|
||
|
};
|
||
|
export default isNumeric;
|