StrictlyNegativeInt

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

Deprecated

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

Type representing strictly negative 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): StrictlyPositiveInt
infix operator fun div(other: StrictlyPositiveInt): StrictlyNegativeInt
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): StrictlyPositiveInt
infix operator fun times(other: StrictlyPositiveInt): StrictlyNegativeInt
Link copied to clipboard
open override fun toString(): String
Link copied to clipboard

Properties

Link copied to clipboard
open override val value: Int