Function panicking

Source
pub fn panicking() -> bool
Expand description

Determines whether the current thread is unwinding because of panic.