SelfLoopsQ

As of Version 10, most of the functionality of the Combinatorica package is built into the Wolfram System. >>

SelfLoopsQ[g]
yields True if graph g has self-loops.

更多信息更多信息