[−][src]Function clingo_sys::clingo_model_contains
pub unsafe extern "C" fn clingo_model_contains(
model: *const clingo_model_t,
atom: clingo_symbol_t,
contained: *mut bool
) -> bool
! Constant time lookup to test whether an atom is in a model. ! ! @param[in] model the target ! @param[in] atom the atom to lookup ! @param[out] contained whether the atom is contained ! @return whether the call was successful