Croma.DebugAssert.debug_assert

You're seeing just the macro debug_assert, go back to Croma.DebugAssert module for more information.
Link to this macro

debug_assert(expr, message \\ "")

View Source (macro)

Ensures that the given expression evaluates to some truthy value at runtime and raises otherwise.

This is intended to be used as debugging purposes: crash immediately when any logic error is found, similar to assert() in C. However note that, unlike C, crash of the currently running process does not necessarily stop execution of the program.

Runtime checks by debug_assert/2 can be disabled by setting application config during compilation.

config :croma, [
  debug_assert: false
]

The passed expression should be side effect free in order to preserve code semantics when disabled.