index.js
function all (extent, minZoom, maxZoom) {
  const tiles = []
  const grid = single(extent, minZoom, maxZoom)
  while (true) {
    const {value, done} = grid.next()
    if (done) break
    tiles.push(value)
  }
  return tiles
}
function all (extent, minZoom, maxZoom) {
  const tiles = []
  const grid = single(extent, minZoom, maxZoom)
  while (true) {
    const {value, done} = grid.next()
    if (done) break
    tiles.push(value)
  }
  return tiles
}
function all ( extent , minZoom , maxZoom ) { const tiles = [ ] const grid = single ( extent , minZoom , maxZoom ) while ( true ) { const { value , done } = grid . next ( ) if ( done ) break tiles . push ( value ) } return tiles }
All Tiles from a given BBox

@param {BBox|BBox[]|GeoJSON} extent BBox [west, south, east, north] order or GeoJSON Polygon
@param {number} minZoom Minimum Zoom
@param {number} maxZoom Maximum Zoom
@returns {Array<Tile>} Tiles from extent
@example
const tiles = slippyGrid.all([-180.0, -90.0, 180, 90], 3, 8)
//=tiles
All Tiles from a given BBox