$(IS_ANY StaticNeighbourhood)
struct Foo { enum uint Dimension = 2; enum uint NeighboursAmount = 1; int[2][] getNeighboursCoordinates(int x, int y) { return [[x+1, y+1]]; } } static assert(! isStaticNeighbourhood!(Foo, 3)); static assert( isAnyStaticNeighbourhood!(Foo ));
See Implementation
$(IS_ANY StaticNeighbourhood)