Function clingo_sys::clingo_theory_atoms_term_type [] [src]

pub unsafe extern "C" fn clingo_theory_atoms_term_type(
    atoms: *const clingo_theory_atoms_t,
    term: clingo_id_t,
    type_: *mut clingo_theory_term_type_t
) -> bool

Get the type of the given theory term.

Parameters:

  • atoms - container where the term is stored
  • term - id of the term
  • type - the resulting type

Returns whether the call was successful