[−][src]Function clingo_sys::clingo_assignment_is_true
pub unsafe extern "C" fn clingo_assignment_is_true(
assignment: *const clingo_assignment_t,
literal: clingo_literal_t,
is_true: *mut bool
) -> bool
! Check if a literal is true. ! ! @param[in] assignment the target assignment ! @param[in] literal the literal ! @param[out] is_true whether the literal is true ! @return whether the call was successful ! @see clingo_assignment_truth_value()