Function glory_core::is_dev

source ·
pub const fn is_dev() -> bool
Expand description

Returns true if debug_assertions are enabled.

if is_dev() {
  // log something or whatever
}