Closures
hookfunction
Replaces a function with a hook.
Related to sUNC documentation
This page follows the official sUNC reference.
Signature
function hookfunction<A1..., R1..., A2..., R2...>(functionToHook: (A1...) -> R1..., hook: (A2...) -> R2...): (A1...) -> R1...Returns
The original unhooked function.