OxL Reference

method RangeInclusive.hi

The upper bound of the range (included).

Example:

oxl✓ checked in CI
fn main() io {
  print("{(3..=9).hi()}")
}
Output
9
pub(api) fn hi() -> T

Complexity. O(1).

Since. 1.0.0-beta

Returns

T

Effects

none declared (pure unless the body says otherwise)

Defined in: std/core/iter.oxl:981

See also