Function clingo_sys::clingo_symbolic_atoms_is_valid [] [src]

pub unsafe extern "C" fn clingo_symbolic_atoms_is_valid(
    atoms: *mut clingo_symbolic_atoms_t,
    iterator: clingo_symbolic_atom_iterator_t,
    valid: *mut bool
) -> bool

Check whether the given iterator points to some element with the sequence of symbolic atoms or to the end of the sequence.

Parameters:

  • atoms the target
  • iterator the iterator
  • valid whether the iterator points to some element within the sequence

Returns whether the call was successful