Skip to main content

describeShapeImport

The message for what a file held, shown beside the Import button and announced: how many shapes were imported, how many were skipped and why, and whether holes were left out; or why the whole file was refused and what to do instead.

This is a function exported by @mapcairn/core, checked against version 0.2.0.

Signature​

import { describeShapeImport } from "@mapcairn/core";

function describeShapeImport(result: ShapeImport): Message;

Parameters​

  • result (ShapeImport)

Returns​

Message

See also​

Source: packages/core/src/draw/describe.ts:403