Skip to main content

Đối số

function
bắt buộc
Function to check. Passing a non-function raises a type error.

Giá trị trả về

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

Ví dụ

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