MCPcopy Index your code
hub / github.com/ChartGPU/ChartGPU / assertNotDisposed

Function assertNotDisposed

src/renderers/createLineRenderer.ts:172–174  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

170 let currentVertexCount = 0;
171
172 const assertNotDisposed = (): void => {
173 if (disposed) throw new Error('LineRenderer is disposed.');
174 };
175
176 const prepare: LineRenderer['prepare'] = (seriesConfig, dataBuffer, xScale, yScale, xOffset = 0) => {
177 assertNotDisposed();

Callers 2

prepareFunction · 0.70
renderFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected