UNPKG
di-shan-utils
Version:
latest (1.0.5)
1.0.5
1.0.4
1.0.3
1.0.2
1.0.1
1.0.0
JavaScript 函数库、工具类
di-shan-utils
/
dist
/
toInteger.d.ts
15 lines
(12 loc)
•
298 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/** * 转整数 *
@param
num 数值/字符串 */
export
declare
function
toInteger
(
num
:
number
|
string
|
null
):
number
;
export
declare
function
toInteger
(
num
:
any
):
number
;
declare
module
'./ctor'
{
interface
DIUtilsMethods
{
toInteger
:
typeof
toInteger; } }
export
default
toInteger