Checks if a string is an integer.

  • Parameters

    • value: string

      The string to validate.

    • options: IsIntOptions = {}

      Options for integer validation.

    Returns boolean

    true if the string is a valid integer, false otherwise.