pub fn is_main_loop_set() -> boolExpand description
It returns true if the main loop function is set, and false if the main loop function isn’t set.
§Examples
if is_main_loop_set() {
println!("It's set. It may be paused, but that should be pretty rare.");
}