NonZeroInt

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

Deprecated

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

Type representing integers that can't equal 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
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
Link copied to clipboard
open override fun toString(): String
Link copied to clipboard
operator fun unaryMinus(): NonZeroInt

Properties

Link copied to clipboard
open override val value: Int