Function isCreditCode

  • 判断是否为统一社会信用代码

    Parameters

    • value: string

      字符串值

    Returns boolean

    isCreditCode('9144030071526726XG'); /// true
    isCreditCode('12312312312'); /// false