isNumericType

isNumericType(): Boolean;

The isNumericType method of the Any primitive type returns true if the type of the value assigned to the receiver is one of the following primitive types; otherwise the method returns false.

If the isNumericType method returns true, the receiver can be type‑converted to a Real primitive type without any loss of data.

2020.0.01 and higher