Skip to main content

Arguments

function
requis
Function to check. Passing a non-function raises a type error.

Retours

boolean
true when the function is currently hooked; otherwise false.

Exemple

Check whether a function closure is tracked as a hook target.