Gliph\Graph\Graph::hasVertex PHP Method

hasVertex() public method

Indicates whether or not the provided vertex is present in the graph.
public hasVertex ( object $vertex ) : boolean
$vertex object The vertex object to check for membership in the graph.
return boolean TRUE if the vertex is present, FALSE otherwise.
    public function hasVertex($vertex);