nationid - v0.6.0
GitHub
npm
Preparing search index...
countries/mx
validate
Function validate
validate
(
code
:
|
"MX_CURP"
|
"MX_RFC_PF"
|
"MX_RFC_PM"
|
"MX_CLAVE_ELECTOR"
|
"MX_NSS"
|
"MX_PASAPORTE"
|
ShortCode
,
input
:
string
,
)
:
boolean
Country-scoped validate: pass either
MX_CURP
or just
CURP
.
Parameters
code
:
|
"MX_CURP"
|
"MX_RFC_PF"
|
"MX_RFC_PM"
|
"MX_CLAVE_ELECTOR"
|
"MX_NSS"
|
"MX_PASAPORTE"
|
ShortCode
input
:
string
Returns
boolean
Settings
Member Visibility
Inherited
Theme
OS
Light
Dark
GitHub
npm
nationid - v0.6.0
Loading...
Country-scoped validate: pass either
MX_CURPor justCURP.