KSLCore
Toggle table of contents
R1.3
jvm
Target filter
jvm
Switch theme
Search in API
Skip to content
KSLCore
KSLCore
/
ksl.modeling.agent
/
nonNegative
non
Negative
fun
nonNegative
(
initial
:
Double
,
name
:
String
?
=
null
)
:
ReadWriteProperty
<
Any
?
,
Double
>
(
source
)
Non-negativity: value must be >= 0.0.
fun
nonNegative
(
initial
:
Int
,
name
:
String
?
=
null
)
:
ReadWriteProperty
<
Any
?
,
Int
>
(
source
)
Non-negativity: value must be >= 0.