Function is_debug

Source
pub fn is_debug() -> bool
Expand description

Check if debug mode is enabled globally

§Returns

true if debug mode is enabled, false otherwise

§Panics

This function will panic if init_globals() has not been called first.