Skip to main content

Arguments

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

Returns

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

ตัวอย่าง

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