isDoubleInteger function

bool isDoubleInteger(
  1. double number, {
  2. int? epsilonExponent,
})

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);
}