Check if the network is something specific.
is_network(x)
is_igraph(x)
logical, TRUE
or FALSE
Check for various "identities" of the input object
is_network()
: Check whether a graph is of class network
is_igraph()
: Check whether a graph is of class igraph