StrictlyPositiveInt

@SinceKotoolsTypes(version = "1.0")
value class StrictlyPositiveInt : IntType

Deprecated

This type will be replaced by kotools.types.number.StrictlyPositiveInt.

Type representing strictly positive integers (> 0).

Functions

Link copied to clipboard
open infix operator fun compareTo(other: IntType): Int
Link copied to clipboard
open infix operator fun div(other: IntType): Int
infix operator fun div(other: NonZeroInt): NonZeroInt
infix operator fun div(other: StrictlyNegativeInt): StrictlyNegativeInt
infix operator fun div(other: StrictlyPositiveInt): StrictlyPositiveInt
Link copied to clipboard
open infix operator fun minus(other: IntType): Int
Link copied to clipboard
open infix operator fun plus(other: IntType): Int
Link copied to clipboard
open infix operator fun times(other: IntType): Int
infix operator fun times(other: NonZeroInt): NonZeroInt
infix operator fun times(other: StrictlyNegativeInt): StrictlyNegativeInt
infix operator fun times(other: StrictlyPositiveInt): StrictlyPositiveInt
Link copied to clipboard
open override fun toString(): String
Link copied to clipboard

Properties

Link copied to clipboard
open override val value: Int