UNPKG

@thi.ng/geom

Version:

Functional, polymorphic API for 2D geometry types & SVG generation

7 lines (6 loc) 243 B
import { unsupported } from "@thi.ng/errors/unsupported"; import { Arc } from "../api/arc.js"; const __ensureNoArc = (x) => x instanceof Arc && unsupported("path must not contain arcs, use normalizedPath() first"); export { __ensureNoArc };