Skip to main content

引数

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

戻り値

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

例

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