assert_le

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

Assert that a value is less than or equal to a given upper bound.

Alias

Since

0.10.4

Parameters

actual

the actual value

greatest_expected

the upper bound (inclusive)