PositiveInt
@SinceKotools(project = Project.Types, version = "1.1")
Content copied to clipboard
Representation of positive integers, including zero.
Types
Companion
Link copied to clipboard
object Companion
Content copied to clipboard
Contains declarations for holding or building a PositiveInt.
ConstructionError
Link copied to clipboard
@SinceKotools(project = Project.Types, version = "3.0")
Content copied to clipboard
Error thrown when creating a PositiveInt fails.
Functions
compareTo
Link copied to clipboard
dec
Link copied to clipboard
div
Link copied to clipboard
inc
Link copied to clipboard
unaryMinus
Link copied to clipboard
Returns the negative of this value.
Properties
Inheritors
StrictlyPositiveInt
Link copied to clipboard