... multimethod
Methods
- ...(start:Any, end:Any) Source: stdlib.ngs:2169
Constructs closed-closed predicate range Returns
PredRangeExample
[10,200,300,40,50][(X==10)...(X==40)] # [10,200,300,40] ["abc", "aaa", "bbb", "def"][/^abc/.../^bbb/] # ["abc", "aaa", "bbb"]
- ...(start:Any, end:Any) Source: stdlib.ngs:2187
Constructs closed-closed numerical range Returns
NumRangeExample
(1...4).sum() # 10