Companion

object Companion

Contains declarations for holding or building a StrictlyPositiveInt.

Functions

orNull
Link copied to clipboard
common
infix fun orNull(value: Int): StrictlyPositiveInt?

Returns the value as a StrictlyPositiveInt, or returns null if the value equals 0.

random
Link copied to clipboard
common
@SinceKotools(project = Project.Types, version = "3.0")
fun random(): StrictlyNegativeInt

Returns a random StrictlyNegativeInt.

Properties

max
Link copied to clipboard
common
val max: StrictlyNegativeInt

The maximum value of a StrictlyNegativeInt.

min
Link copied to clipboard
common
val min: StrictlyNegativeInt

The minimum value of a StrictlyNegativeInt.