isDoubleInteger function
Checks if the input number
is a "double integer", i.e., a double value
that represents an integer value.
Returns true if the input number
is a double integer, false otherwise.
Implementation
bool isDoubleInteger(double number, {int? epsilonExponent}) {
return isNumberInteger(number, epsilonExponent: epsilonExponent);
}