Function isNegativeInt

  • 负整数,不包含0

    Parameters

    • value: string

      校验的字符串

    Returns boolean

    Version

    1.0.0

    Example

    isNegativeInt('-01230') // false
    isNegativeInt('-1230') // true

Generated using TypeDoc