Checks if a string is an integer.
The string to validate.
Options for integer validation.
true if the string is a valid integer, false otherwise.
true
false
Checks if a string is an integer.