[−][src]Function clingo_sys::clingo_symbol_is_positive
pub unsafe extern "C" fn clingo_symbol_is_positive(
symbol: clingo_symbol_t,
positive: *mut bool
) -> bool
Check if a function is positive (does not have a sign).
@param[in] symbol the target symbol @param[out] positive 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