AcediaDocumentation

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): boolean

Parameters

ParameterTypeDescription
signalRBXScriptSignalSignal 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

On this page