isInt property

bool isInt

Returns true if the underlying value was encoded as an int or uint (direct or indirect).

Implementation

bool get isInt => isNum && !isDouble;