Kotools Types
3.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
common
Kotools Types
/
kotools.types.number
/
positiveIntOrNull
positive
Int
Or
Null
fun
positiveIntOrNull
(
value
:
Int
)
:
PositiveInt
?
Returns the
value
as a
PositiveInt
, or returns
null
if the
value
is strictly negative.