pub fn get_hook_installed(state: &LuaState) -> boolExpand description
Returns whether a debug hook function is currently installed.
C’s lua_gethook returns the lua_Hook function pointer itself; a
Box<dyn FnMut> cannot be returned by reference the same way, so this
reports only presence.