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

Function assertNotDisposed

src/renderers/createReferenceLineRenderer.ts:214–216  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

212 let instanceCount = 0;
213
214 const assertNotDisposed = (): void => {
215 if (disposed) throw new Error('ReferenceLineRenderer is disposed.');
216 };
217
218 const prepare: ReferenceLineRenderer['prepare'] = (gridArea, lines) => {
219 assertNotDisposed();

Callers 2

prepareFunction · 0.70
renderFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected