clipspy-1.0.0/clips/facts.py
def facts(self) -> iter:
        """Iterate over the asserted Facts."""
        fact = lib.GetNextFact(self._env, ffi.NULL)
        while fact != ffi.NULL:
            yield new_fact(self._env, fact)

            fact = lib.GetNextFact(self._env, fact)
Iterate over the asserted Facts.
Iterate over the asserted Facts.
Iterate over the asserted Facts .
def facts(self) -> iter:
        fact = lib.GetNextFact(self._env, ffi.NULL)
        while fact != ffi.NULL:
            yield new_fact(self._env, fact)
            fact = lib.GetNextFact(self._env, fact)
def facts ( self ) -> iter : fact = lib . GetNextFact ( self . _env , ffi . NULL ) while fact != ffi . NULL : yield new_fact ( self . _env , fact ) fact = lib . GetNextFact ( self . _env , fact )
Iterate over the asserted Facts.
Iterate over the asserted Facts .
"""Iterate over the asserted Facts."""
self