toggle menu
kresil
0.0.1
common
switch theme
search in API
kresil-lib
/
kresil.core.delay
/
requireNonNegative
require
Non
Negative
internal
fun
Duration
.
requireNonNegative
(
qualifier
:
String
)
(
source
)
Validates that the duration is in fact a non-negative duration.
Throws
Illegal
Argument
Exception
if the duration is less than 0