fn isNumberFormattedLikeAnInteger(value: []const u8) bool

For the slice you get from a Token.number or Token.allocated_number, this function returns true if the number doesn’t contain any fraction or exponent components. Note, the numeric value encoded by the value may still be an integer, such as 1.0. This function is meant to give a hint about whether integer parsing or float parsing should be used on the value. This function will not give meaningful results on non-numeric input.

Parameters

value: []const u8,