Companion

Since Kotlin

1.0

Since Kotlin

1.3

Properties

Link copied to clipboard
const val MAX_VALUE: Int = 2147483647

A constant holding the maximum value an instance of Int can have.

Since Kotlin 1.0
const val MAX_VALUE: Int = 2147483647

A constant holding the maximum value an instance of Int can have.

Since Kotlin 1.3
Link copied to clipboard
const val MIN_VALUE: Int

A constant holding the minimum value an instance of Int can have.

Since Kotlin 1.0
const val MIN_VALUE: Int

A constant holding the minimum value an instance of Int can have.

Since Kotlin 1.3
Link copied to clipboard
const val SIZE_BITS: Int = 32

The number of bits used to represent an instance of Int in a binary form.

Since Kotlin 1.3
const val SIZE_BITS: Int = 32

The number of bits used to represent an instance of Int in a binary form.

Since Kotlin 1.3
Link copied to clipboard
const val SIZE_BYTES: Int = 4

The number of bytes used to represent an instance of Int in a binary form.

Since Kotlin 1.3
const val SIZE_BYTES: Int = 4

The number of bytes used to represent an instance of Int in a binary form.

Since Kotlin 1.3