Companion

object Companion

Contains class-level declarations for the Integer type.

Functions

Link copied to clipboard

Returns an Integer representing the specified value.

Link copied to clipboard

Returns an Integer representing the number described by value, or throws NumberFormatException if the value doesn't represent an integer.

Link copied to clipboard
fun parseOrNull(value: String): Integer?

Returns an Integer representing the number described by value, or returns null if the value doesn't represent an integer.