Function within_limit
Source pub fn within_limit(value: usize, limit: usize) -> bool
Expand description
Check if a value is within a limit using checked arithmetic.
§Arguments
value - The value to check
limit - The maximum allowed value
§Returns
true if value < limit