Function clingo_sys::clingo_symbol_is_negative
[−]
[src]
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).
Parameters:
symbol
- the target symbolnegative
- the result
Returns 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