isIntegral

isIntegral(): Boolean;

The isIntegral method of the Any primitive type returns true if any of the following conditions is true for type of the value and the value of the receiver; otherwise the method returns false.

If the isIntegral method returns true, the receiver can be type‑converted to an Integer primitive type without any loss of data.

2020.0.01 and higher