isInt property

bool get isInt

Returns true if this number is an integer number.

Example: 123.isInt -> true.

Implementation

bool get isInt => this is int;