issignalhooked
Checks whether a signal carries a hook from this VM.
Returns true while at least one wrapper installed by hooksignal is still in place for the signal in the current VM.
issignalhooked(signal: RBXScriptSignal): booleanParameters
| Parameter | Type | Description |
|---|---|---|
signal | RBXScriptSignal | Signal to inspect. |
Example
local bindable = Instance.new("BindableEvent")
bindable.Event:Connect(function() end)
print(issignalhooked(bindable.Event))
hooksignal(bindable.Event, function() return true end)
print(issignalhooked(bindable.Event))Example output
false
true