Skip to content

Graphorin API reference v0.1.0


Graphorin API reference / @graphorin/tools / / getHistogramForTesting

Function: getHistogramForTesting()

ts
function getHistogramForTesting(name, labels?): readonly number[];

Defined in: packages/tools/src/audit/counters.ts:150

Experimental

Read a single histogram observation list (returns [] when absent).

Parameters

ParameterType
namestring
labels?Readonly<Record&lt;string, string | number | boolean&gt;>

Returns

readonly number[]