isprotohooked
Checks whether a function uses a recorded hooked prototype.
Returns true when the function currently uses a forwarder prototype recorded by hookproto. A normal function or a restored prototype returns false. A prototype handle from debug.getproto is answered for the prototype it stands in for, not for the handle closure.
isprotohooked(target: function): booleanParameters
| Parameter | Type | Description |
|---|---|---|
target | function | Function to inspect, or a debug.getproto handle. |
