toDartInt property

int toDartInt

Converts this JSNumber to an int.

If this JSNumber is not an integer value, throws.

Implementation

external int get toDartInt;