(check-invariants g)
Checks whether the internal data structures of an ubergraph satisfy invariants assumed by the implementation. The implementation of this function is one way to document these invariants, plus being an executable way to check for bugs in the implementation.
Returns a map with the key :error, where the associated value is a boolean indicating whether any errors were found. Other keys can be returned if there is an error, indicating details about any invariant violations found.
Checks whether the internal data structures of an ubergraph satisfy invariants assumed by the implementation. The implementation of this function is one way to document these invariants, plus being an executable way to check for bugs in the implementation. Returns a map with the key :error, where the associated value is a boolean indicating whether any errors were found. Other keys can be returned if there is an error, indicating details about any invariant violations found.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close