MCPcopy Index your code
hub / github.com/immerjs/immer / clearPlugin

Function clearPlugin

src/utils/plugins.ts:68–70  ·  view source on GitHub ↗
(pluginKey: K)

Source from the content-addressed store, hash-verified

66 !!plugins[pluginKey]
67
68export let clearPlugin = <K extends keyof Plugins>(pluginKey: K): void => {
69 delete plugins[pluginKey]
70}
71
72export function loadPlugin<K extends keyof Plugins>(
73 pluginKey: K,

Callers 1

runBaseTestFunction · 0.85

Calls

no outgoing calls

Tested by 1

runBaseTestFunction · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…