klyn.Int.Int
constructor
public native Int(value: String) throws BadValueException
Description

Parses a string into an integer.

Parameters
  • value String representation of the number.
Throws
  • BadValueException if the string is not a valid integer.
Example
value = Int("123")
assert value == 123