dart number
EXPRESSION NATIVE WEB
1 is int True True
1 is double False True
1.0 is int False True
1.0 is double True True
(0.5 + 0.5) is int False True
(0.5 + 0.5) is double True True
3.14 is int False False
3.14 is double True True
double.infinity is int False True
double.nan is int False False
1.0.runtimeType double int
1.runtimeType int int
1.5.runtimeType double double