Aliases
hookfuncreplaceclosure
Arguments
function
required
The function whose hook is installed, restored, or queried.
function
required
The replacement callback. Keep the returned original function when delegating calls.
Returns
function
The original callable for delegation or restoration.
