matrix-dom
    Preparing search index...

    Function checkInBetween

    • Given two points, check the cells between using specified function. When inclusive is set to true the provided start and end points will also be tested

      Parameters

      • start: Point

        The beginning point to check.

      • end: Point

        The terminating point to check between.

      • matrix: Matrix

        The grid of points all the points can exist on.

      • func: TestPointStatus

        The test function which will return true or false.

      • inclusive: boolean = true

        Choose whether to include or exclude the start and end points in the results.

      Returns boolean

      Whether at least one of the points passed the test