Skip to content
Sheetwrite

Sheetwrite / Documentation

DistinctColumn@sheetwrite/wasm

Distinct-value scan result for one column: parallel kind/number/text arrays whose buffers are surrendered once through the take accessors.

Distinct-value scan result for one column: parallel kind/number/text arrays whose buffers are surrendered once through the take* accessors.

Members 4

free
free: () => void;
takeKinds Surrenders the per-value kind tags (number/string/boolean codes); the column keeps an empty buffer afterwards.
takeKinds: () => Uint8Array;
takeNumbers Surrenders the numeric values aligned with the takeKinds tags.
takeNumbers: () => Float64Array;
takeTexts Surrenders the distinct strings aligned with the takeKinds tags.
takeTexts: () => string[]

Declaration

View full TypeScript declaration
class DistinctColumn {
free: () => void;
takeKinds: () => Uint8Array;
takeNumbers: () => Float64Array;
takeTexts: () => string[];
}