isSource method

bool isSource(
  1. Vertex<V> vertex
)

Implementation

bool isSource(Vertex<V> vertex) => isSourceById(vertex.id);