Skip to main content
Restores a hooked function, or replaces one function with another when two function arguments are provided. The first argument must be a function.

Syntax

Aliases

  • restorefunc
  • restoreclosure

Arguments

Example

Restore a hooked closure to its original function.