Skip to content

function removeEventHandler (shared-side)

Available since version: 0.1.10

This function will unbind function from specified event.

Declaration

bool removeEventHandler(string eventName, function func)

Parameters

  • string eventName: the name of the event.
  • function func: the reference to a function which is currently bound to specified event.

Returns bool

true if the function was bound with specified event and was sucessfully, otherwise false.