R/basic.R
is_igraph.Rd
Is this object an igraph graph?
is_igraph(graph)
An R object.
A logical constant, TRUE if argument graph is a graph object.
TRUE
graph
Gabor Csardi csardi.gabor@gmail.com
g <- make_ring(10) is_igraph(g) #> [1] TRUE is_igraph(numeric(10)) #> [1] FALSE