/** * Build a chunk with an integer range with both min/max included. * * @tsplus static Chunk.Ops range */ export function range(min: number, max: number): Chunk { let builder = Chunk.empty() for (let i = min; i <= max; i++) { builder = builder.append(i) } return builder }