(left, right, inclusive)
| 257 | })()) |
| 258 | |
| 259 | function __range__ (left, right, inclusive) { |
| 260 | const range = [] |
| 261 | const ascending = left < right |
| 262 | const end = !inclusive ? right : ascending ? right + 1 : right - 1 |
| 263 | for (let i = left; ascending ? i < end : i > end; ascending ? i++ : i--) { |
| 264 | range.push(i) |
| 265 | } |
| 266 | return range |
| 267 | } |
| 268 | function __guard__ (value, transform) { |
| 269 | return (typeof value !== 'undefined' && value !== null) ? transform(value) : undefined |
| 270 | } |