Skip to content
Sheetwrite

@sheetwrite/formulas

PivotOutputclass

Report a problem

On this page

The output cells of a pivot that places none in cells, in row-major order.

Members

Methods

free: () => void;

Releases the object's WASM memory now instead of at garbage collection; the object can't be used afterwards.

layout: () => Uint32Array;

[rows, cols, headerRows, labelCols] of the output; zeros without a layout.

takeKinds: () => Uint8Array;

Surrenders the cell kinds: 0 blank, 1 number, 2 text, 3 boolean, 4 error. The output keeps an empty buffer afterwards.

takeNumbers: () => Float64Array;

Surrenders, per cell, the number, the boolean as 0 or 1, or the error slot.

takeTexts: () => string[]

Surrenders the text cells, in order.

Declaration

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

Referenced by

Public exports naming PivotOutput