Returns the area of rect

import { Rects } from "https://unpkg.com/ixfx/dist/geometry.js";
const rect = { width: 100, height: 100, x: 100, y: 100 };
Rects.area(rect);
  • Parameters

    Returns number