# is.igraph

From igraph v0.5.5-3
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.5.5-3, License: GPL (>= 2)*

### Community examples

Looks like there are no examples yet.