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 Oct. 20, 2024, 1:06 a.m.