assertk.assertions / isNegative

isNegative

fun <T : Number> Assert<T>.isNegative(): Unit

Platform and version requirements: Common

Asserts the number is less than 0.

See Also

isPositive