mwg API
    Preparing search index...

    Function cellInside

    • True when (x, y) is inside a width x height grid.

      Both edges are inclusive of 0 and exclusive of width/height, so a cell exists if and only if 0 <= x < width and 0 <= y < height.

      Parameters

      • width: number
      • height: number
      • x: number
      • y: number

      Returns boolean