District_8

grid-functions district_8

syntax

  • district_8(grid_data_item)

definition

The district_8 function is a variant of the district function

The only difference is that adjacent is defined as horizontal, vertical and diagonal.