MixedGraphQ
MixedGraphQ[g] yields True if the graph g is a mixed graph and False otherwise.
Examples
Test a mixed graph with both directed and undirected edges:
g = Graph[{1 <-> 2, 2 -> 3}];
MixedGraphQ[g]
(* True *)Test a purely undirected graph:
MixedGraphQ[CompleteGraph[4]]
(* False *)Please visit the official Wolfram Language Reference for more details.