isInt method

bool isInt(
  1. dynamic value
)

Checks if the given value is an integer.

Implementation

bool isInt(value) {
  return value is int;
}