Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
- # Returns `true` if the string contains only Numeric values (and one "," or one "." character)
+ # Is this string in a valid numeric format compatible with `to_f`?
#
# assert "123".is_numeric == true
# assert "1.2".is_numeric == true
#
# assert "123".is_numeric == true
# assert "1.2".is_numeric == true
# assert "1,2".is_numeric == true
# assert "-1.23e-2".is_numeric == true
# assert "1..2".is_numeric == false
# assert "1,2".is_numeric == true
# assert "-1.23e-2".is_numeric == true
# assert "1..2".is_numeric == false
+ # assert "".is_numeric == false
fun is_numeric: Bool
do
var has_point_or_comma = false
fun is_numeric: Bool
do
var has_point_or_comma = false
end
# Returns `true` if the string contains only Hex chars
end
# Returns `true` if the string contains only Hex chars