assert_graph | R Documentation |

Function that checks that a given object is a `Graph`

and
throws an error if not.

```
assert_graph(x)
```

`x` |
( |

`Graph`

`invisible(x)`

Other Graph operators:
`%>>%()`

,
`as_graph()`

,
`as_pipeop()`

,
`assert_pipeop()`

,
`chain_graphs()`

,
`greplicate()`

,
`gunion()`

,
`mlr_graphs_greplicate`

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.