Skip to main content

Argumentos

function
obrigatório
Function to check. Passing a non-function raises a type error.

Retornos

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

Exemplo

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