[Overview][Types][Classes][Procedures and functions][Variables] Reference for unit 'LuaObject' (#pLua)

TLuaObject.EventExists

Tests to see if a Lua based handler is assigned for the given event.

Declaration

Source position: LuaObject.pas line 41

public function TLuaObject.EventExists(

  EventName: AnsiString

):Boolean;

Arguments

EventName

  

Name of the event handler to look for.

Function result

True if the handler exists, false if it doesn't.