Skip to content
Signals & connectionsOverviewNew · 0.744

isluaconnection

Describe the Luau classification of a connection.

Details#

Reads the connection facade's LuaConnection flag. A true result describes the connection kind; it does not guarantee that its Function reference is available.

Examples#

Example

Luau
local event = Instance.new("BindableEvent")
local own = event.Event:Connect(print)
local connection = getconnection(event.Event, 1)
if connection then print(isluaconnection(connection)) end
own:Disconnect()
event:Destroy()