isInt property

bool get isInt

Checks if num is int

Implementation

bool get isInt => (this % 1) == 0;