ixfx
    Preparing search index...

    Function intersectsPoint

    Returns true if point is within or on boundary of rect.

    import { Rects } from "https://unpkg.com/ixfx/dist/geometry.js";
    Rects.intersectsPoint(rect, { x: 100, y: 100});
    Rects.intersectsPoint(rect, 100, 100);