function toInt
source · line 42public
public fun String.toInt(radix: Int = 10): Int
Extension receiver: String
Parses a Int in radix 2..36; invalid or out-of-range text throws NumberFormatException and an invalid radix throws IllegalArgumentException.
parameter receiver
source · line 42public
String
parameter radix
source · line 42public
radix: Int = 10