Rest
Private
Readonly
Attaches the hook manager to a target object. All of the target's functions will be wrapped in a proxy that will execute the hooks before and after any function is called.
Returns true if this hook manager is attached to the target object otherwise false
The target object to check
true if this hook manager is attached to the target object otherwise false
addHook
Enables or disables running of hooks
Attaches the hook manager to a target object. All of the target's functions will be wrapped in a proxy that will execute the hooks before and after any function is called.