resolveSliceColumn
Returns a column a parameter runs over on its kind's number line, or null if the value is not a column binding.
@internote/canvas-sdkOn this page
import { resolveSliceColumn } from '@internote/canvas-sdk';Years and numbers as themselves, ISO dates as fractional years, month and weekday names as their positions (1 is January, 1 is Monday), HH:MM as hours, YYYY-Www as fractional years by the week. A column of no one kind is NaN throughout, including a column of names, which has no number line and is read with resolveColumn instead.
#Signature
(
datasets: Record<string, ChalkDataset> | undefined,
value: unknown,
): number[] | null#Parameters
datasetsThe document's datasets.
valueAn attribute value that may be a
#id.column binding.Declared in packages/canvas-sdk/src/data/resolve-column.ts:177.