UNPKG
is-number-strict
Version:
latest (1.0.9)
1.0.9
1.0.8
1.0.7
1.0.6
1.0.5
1.0.4
1.0.3
1.0.2
1.0.1
1.0.0
0.3.0
0.1.1
0.1.0
Tiny lib to check if passed argument is strictly number. Strings will not pass!
is-number-strict
/
dist
/
index.d.ts
8 lines
(7 loc)
•
254 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
/** * Checks if value is real number. Supports Number object. *
@param
{
any
}
num
- value to check *
@return
{
boolean
} - returns true if value is true number */
declare
function
isNumberStrict
(
num
:
any
):
boolean
;
export
default
isNumberStrict;