Closed LVMVRQUXL closed 1 year ago
Implement the following operations for improving the creation of a StrictlyNegativeInt type:
StrictlyNegativeInt
inline fun Int.toStrictlyNegativeIntOrElse(onFailure: (IllegalArgumentException) -> StrictlyNegativeInt): StrictlyNegativeInt = TODO() fun Int.toStrictlyNegativeIntOrNull(): StrictlyNegativeInt? = TODO() fun Int.toStrictlyNegativeIntOrThrow(): StrictlyNegativeInt = TODO()
toStrictlyNegativeIntOrElse
toStrictlyNegativeIntOrNull
toStrictlyNegativeIntOrThrow
Work in progress
Description
Implement the following operations for improving the creation of a
StrictlyNegativeInt
type:Checklist
toStrictlyNegativeIntOrElse
function.toStrictlyNegativeIntOrNull
function.toStrictlyNegativeIntOrThrow
function.Work in progress
section in changelog.