# is.igraph

From igraph v0.1.2
by Gabor Csardi

##### Is this object a graph?

`is.graph`

makes its decision based on the class
attribute of the object.

- Keywords
- graphs

##### Usage

`is.igraph(graph)`

##### Arguments

- graph
- An R object.

##### Value

- A logical constant,
`TRUE`

if argument`graph`

is a graph object.

##### Examples

```
g <- graph.ring(10)
is.igraph(g)
is.igraph(numeric(10))
```

*Documentation reproduced from package igraph, version 0.1.2, License: GPL version 2 or later (June, 1991)*

### Community examples

Looks like there are no examples yet.