is_igraph: Is this object an igraph graph?

View source: R/basic.R

is_igraphR Documentation

Is this object an igraph graph?

Description

Is this object an igraph graph?

Usage

is_igraph(graph)

Arguments

graph

An R object.

Value

A logical constant, TRUE if argument graph is a graph object.

Author(s)

Gabor Csardi csardi.gabor@gmail.com

Examples


g <- make_ring(10)
is_igraph(g)
is_igraph(numeric(10))

igraph documentation built on Sept. 22, 2022, 9:07 a.m.

Related to is_igraph in igraph...