[][src]Function clingo_sys::clingo_assignment_truth_value

pub unsafe extern "C" fn clingo_assignment_truth_value(
    assignment: *const clingo_assignment_t,
    literal: clingo_literal_t,
    value: *mut clingo_truth_value_t
) -> bool

Determine the truth value of a given literal.

@param[in] assignment the target assignment @param[in] literal the literal @param[out] value the resulting truth value @return whether the call was successful