Function swipl::engine::is_engine_active
source · pub fn is_engine_active(engine: PL_engine_t) -> bool
Expand description
Checks if the given engine pointer is the engine that is currently active on this thread.
This will panic is SWI-Prolog was not yet initialized.