Kotools Types
4.2.0
5.0.0
4.5.3
4.5.2
4.5.1
4.5.0
4.4.2
4.3.1
4.2.0
4.1.0
4.0.1
3.2.0
2.0.0
1.3.1
Kotools
Types
kotools.
types.
collection
Not
Empty
Collection
Not
Empty
List
not
Empty
List
Of()
Not
Empty
Map
not
Empty
Map
Of()
Not
Empty
Set
not
Empty
Set
Of()
size
Or
Zero
to
Not
Empty
List()
to
Not
Empty
Map()
to
Not
Empty
Set()
kotools.
types.
experimental
Experimental
Number
Api
Experimental
Range
Api
Experimental
Result
Api
Experimental
Text
Api
kotools.
types.
number
Any
Int
div()
minus()
Negative
Int
Companion
Non
Zero
Int
Companion
plus()
Positive
Int
Companion
rem()
Strictly
Negative
Int
Companion
Strictly
Positive
Double
Strictly
Positive
Int
Companion
times()
to
Negative
Int()
to
Non
Zero
Int()
to
Positive
Int()
to
Strictly
Negative
Int()
to
Strictly
Positive
Double()
to
Strictly
Positive
Int()
unary
Minus()
Zero
Int
kotools.
types.
range
Bound
contains()
Exclusive
Bound
Inclusive
Bound
Not
Empty
Range
Builder
Scope
not
Empty
Range
Of()
kotools.
types.
result
flat
Map()
Result
Context
result
Of()
kotools.
types.
text
Not
Blank
String
plus()
to
Not
Blank
String()
Kotools Types
/
kotools.types.number
/
unaryMinus
unary
Minus
@
ExperimentalNumberApi
@
ExperimentalSinceKotoolsTypes
(
version
=
"4.2"
)
operator
fun
AnyInt
.
unaryMinus
(
)
:
Int
@
ExperimentalNumberApi
@
ExperimentalSinceKotoolsTypes
(
version
=
"4.2"
)
operator
fun
NegativeInt
.
unaryMinus
(
)
:
PositiveInt
@
ExperimentalNumberApi
@
ExperimentalSinceKotoolsTypes
(
version
=
"4.2"
)
operator
fun
NonZeroInt
.
unaryMinus
(
)
:
NonZeroInt
@
ExperimentalNumberApi
@
ExperimentalSinceKotoolsTypes
(
version
=
"4.2"
)
operator
fun
PositiveInt
.
unaryMinus
(
)
:
NegativeInt
@
ExperimentalNumberApi
@
ExperimentalSinceKotoolsTypes
(
version
=
"4.2"
)
operator
fun
StrictlyNegativeInt
.
unaryMinus
(
)
:
StrictlyPositiveInt
@
ExperimentalNumberApi
@
ExperimentalSinceKotoolsTypes
(
version
=
"4.2"
)
operator
fun
StrictlyPositiveInt
.
unaryMinus
(
)
:
StrictlyNegativeInt
Returns the negative of this integer.