Function panicking

pub(crate) fn panicking() -> bool

Determines whether the current thread is unwinding because of panic.