Function that checks that a given object is a Graph and throws an error if not.

assert_graph(x)

Arguments

x

(any)
Object to check.

Value

Graph invisible(x)

See also

Other Graph operators: %>>%, as_graph, as_pipeop, assert_pipeop, greplicate, gunion