graph? - part-cw/lambdanative GitHub Wiki

(graph? g)

This function returns #t if the argument is a graph, otherwise #f.

Parameter Description
g graph context

Example

(define g (graph-new 100 100))
(graph? g)
#t
(graph? "g")
#f