MCPcopy
hub / github.com/cure53/DOMPurify / removeHook

Method removeHook

src/types.ts:161–161  ·  view source on GitHub ↗

* Remove a DOMPurify hook at a given entryPoint * (pops it from the stack of hooks if hook not specified) * * @param entryPoint entry point for the hook to remove * @param hookFunction optional specific hook to remove * @returns removed hook

(
    entryPoint: BasicHookName,
    hookFunction?: NodeHook
  )

Source from the content-addressed store, hash-verified

159 * @returns removed hook
160 */
161 removeHook(
162 entryPoint: BasicHookName,
163 hookFunction?: NodeHook
164 ): NodeHook | undefined;

Callers 1

test-suite.jsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected