isGeometryDataset

Returns whether a dataset is boundary geometry rather than a table.

@internote/canvas-sdkFunction
On this page
import { isGeometryDataset } from '@internote/canvas-sdk';

The compiler marks one with format: 'geojson', and .geojson is the only admitted extension, so the name is checked too and the two can never disagree.

#Signature

(dataset: ChalkDataset): boolean

#Parameters

dataset
A dataset from the document's data.

Declared in packages/canvas-sdk/src/data/attachments.ts:44.

Last updated