Search
Preparing search index...
The search index is not available
gb-util
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
gb-util
GB_11643
Namespace GB_11643
Index
Functions
compute
is
Valid
parse
Functions
compute
compute
(
id
:
string
)
:
string
计算身份证校验位
Parameters
id:
string
身份证前17位
Returns
string
校验位
is
Valid
is
Valid
(
id
:
string
)
:
boolean
校验身份证号是否有效
Parameters
id:
string
身份证号
Returns
boolean
返回是否有效
parse
parse
(
id
:
string
)
:
IdentityInfo
解析身份证获取身份信息
Parameters
id:
string
身份证号
Returns
IdentityInfo
身份信息
Exports
GB_
11643
GB_
11714
GB_
32100
GB_
T_17710
GB_
T_2260
GB_
T_5795
ISO_
7064
compute
is
Valid
parse
Generated using
TypeDoc
计算身份证校验位