Skip to main content

range

Function range 

Source
pub fn range(start: &Value, end: &Value) -> DogeResult
Expand description

range(start, end) — the Ints start, start+1, …, end-1 as an eager List. When end <= start the List is naturally empty. Both arguments must be Int; anything else is a catchable type error. The one-argument Doge form range(n) is compiled as range(0, n), so the runtime has one signature.