Checks if string is a number by attempting to parse it as a double.
string
INFINITY and NaN are not treated as numbers.
static bool isNumeric(String? string) => Type.isNumeric(string);