Tests if a value can be safely converted to a numeric value. Handles strings, numbers, and BigInts, verifying finite properties and valid formats.
Optional
The value to test
True if the value can be evaluated numerically
isNumeric('123'); // trueisNumeric('abc'); // false Copy
isNumeric('123'); // trueisNumeric('abc'); // false
Tests if a value can be safely converted to a numeric value. Handles strings, numbers, and BigInts, verifying finite properties and valid formats.