datasetParameterKind

Returns the kind a column holds for a parameter running over it, or null when its cells share no kind at all.

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

Years and numbers, dates, months, weekdays, hours and weeks each have a number line; a text column is name, the categorical case, whose cells a parameter steps through by index.

#Signature

(
    datasets: Record<string, ChalkDataset> | undefined,
    value: unknown,
): ParameterKind | null

#Parameters

datasets
The document's datasets.
value
An attribute value that may be a #id.column binding.

Declared in packages/canvas-sdk/src/data/resolve-column.ts:155.

Last updated