exportableShapes
The shapes that can be exported: finished, and valid. A shape still being drawn, or one a later edit left with crossing edges, is left out.
This is a function exported by @mapcairn/core, checked against version 0.2.0.
Signature
import { exportableShapes } from "@mapcairn/core";
function exportableShapes(shapes: readonly DrawShape[]): readonly DrawShape[];
Parameters
shapes(readonly DrawShape[])
Returns
readonly DrawShape[]