Checks if a string is a numeric string. By default, it allows only integers. Floats and exponents can be enabled with options. Optionally allow NaN and Infinity.
String to check
Optional
Options object
Checks if a string is a numeric string. By default, it allows only integers. Floats and exponents can be enabled with options. Optionally allow NaN and Infinity.