isInt method

bool isInt()

Implementation

bool isInt() {
  return int.tryParse(this) != null;
}