Skip to content

countValues beta ​

Function of @v12-engine/editor

ts
export declare function countValues(cells: Uint8Array | undefined, selection?: CellSelection): Uint32Array;

How many cells of a layer have each value, 0 to 255: of all of it, or of the cells picked