Returns an integer value from the string value, or undefined if the value cannot be converted
Optional
the string value to check
an integer value from the string value, or undefined if the value cannot be converted
toInteger('1'); // 1 Copy
toInteger('1'); // 1
Returns an integer value from the string value, or undefined if the value cannot be converted