📌  相关文章
📜  检查有效的电话号码 - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:02:26.855000             🧑  作者: Mango

代码示例1
import { isValidPhoneNumber } from 'libphonenumber-js'
//for e.g.
isValidPhoneNumber('8 (888) 888-88-88', 'RU') === false
isValidPhoneNumber('8 (800) 555-35-35', 'RU') === true
isValidPhoneNumber('+12223333333') === false
isValidPhoneNumber('+12133734253') === true