Kotools Types
4.2.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.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.