[−][src]Function clingo_sys::clingo_symbol_is_negative
pub unsafe extern "C" fn clingo_symbol_is_negative(
symbol: clingo_symbol_t,
negative: *mut bool
) -> bool
Check if a function is negative (has a sign).
@param[in] symbol the target symbol @param[out] negative the result @return whether the call was successful; might set one of the following error codes:
- ::clingo_error_runtime if symbol is not of type ::clingo_symbol_type_function