Companion

object Companion

Contains declarations for holding or building a PositiveInt.

Functions

Link copied to clipboard
@SinceKotoolsTypes(version = "3.0")
fun random(): PositiveInt

Returns a random PositiveInt.

Properties

Link copied to clipboard

The maximum value a PositiveInt can have.

Link copied to clipboard

The minimum value a PositiveInt can have.

Link copied to clipboard
@ExperimentalSinceKotoolsTypes(version = "4.2")
val range: NotEmptyRange<PositiveInt>

The range of values a PositiveInt can have.