Does a network have any loop edges?

net_has_loops(.net)

# S3 method for igraph
net_has_loops(.net)

# S3 method for network
net_has_loops(.net)

Arguments

.net

network of class igraph or network.

Value

logical scalar

Examples

net_has_loops(.net = florence_business_ig)
#> [1] FALSE
florence_business_nw %>% net_has_loops()
#> [1] FALSE