Skip to content

GraphQ

Status: Stable

documented, exercised by the test suite and/or worked examples, with no known limitations recorded.

Description

GraphQ[g] gives True if g is a valid graph, and False otherwise.

Examples

No verified examples yet for this function.

Algorithm

graphq.c - GraphQ[g]: is g a valid graph?

A thin wrapper over graph_is_valid (graph_util.c): returns the symbol True when the (already-evaluated) argument is a canonical, valid graph, and False otherwise. Non-unary calls are left unevaluated (NULL).

Memory (SPEC section 4): returns a freshly-allocated symbol; the evaluator frees res.

Implementation notes

Attributes: Protected.

References