FUNCTION

assert_gt_lt

pure function assert_gt_lt<T>(actual: T, least_expected: T, greatest_expected: T): unit

Assert that a value falls within given bounds.

Specifically, assert that the value is greater than a lower bound, and less than an upper bound.

Parameters

  • actual — the actual value
  • least_expected — the lower bound (exclusive)
  • greatest_expected — the upper bound (exclusive)

Since

0.10.4

© 2026 Chromia