UNPKG
antd-v5
Version:
latest (5.14.1)
5.14.1
An enterprise-class UI design language and React components implementation
ant.design
antd-v5
/
lib
/
_util
/
isNumeric.js
8 lines
(7 loc)
•
222 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
"use strict"
;
Object
.
defineProperty
(
exports
,
"__esModule"
, {
value
:
true
});
exports
.
default
=
void
0
;
const
isNumeric
= value => !
isNaN
(
parseFloat
(value)) &&
isFinite
(value);
var
_default =
exports
.
default
= isNumeric;