Skip to content

function removeEventHandler (shared-side)

Available since version: 0.3.0

This function will unbind function from specified event.

Declaration

boolean removeEventHandler(string eventName, function func)

Parameters

  • string eventName: The name of the event.
  • function func: The reference to a function.

Returns boolean

True on success, false otherwise.