Companion

object Companion

Contains declarations for holding or building a PositiveInt.

Functions

Link copied to clipboard
@Since(version = KotoolsTypesVersion.V3_0_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.

Extensions

Link copied to clipboard
@ExperimentalSince(version = KotoolsTypesVersion.V4_4_0)
val PositiveInt.Companion.range: NotEmptyRange<PositiveInt>

The range of values a PositiveInt can have.