assert_lt

(alias) function <T: -comparable> assert_lt(actual: T, greatest_expected: T)

Assert that a value is less than a given upper bound.

Alias

Since

0.10.4

Parameters

actual

the actual value

greatest_expected

the upper bound (exclusive)