PositiveInt

@Serializable(with = PositiveIntSerializer::class)
@SinceKotoolsTypes(version = "1.1")
interface PositiveInt : AnyInt

Representation of positive integers including zero.

Types

Link copied to clipboard
object Companion

Contains declarations for holding or building a PositiveInt.

Functions

Link copied to clipboard
@SinceKotoolsTypes(version = "4.0")
abstract override fun toInt(): Int

Returns this integer as an Int.

Link copied to clipboard
@SinceKotoolsTypes(version = "4.0")
abstract override fun toString(): String

Returns the string representation of this integer.

Inheritors

Link copied to clipboard
Link copied to clipboard