3.2. igraph_vs_is_all — Check whether all vertices are included.

igraph_bool_t igraph_vs_is_all(igraph_vs_t *vs);

This function checks whether the vertex selector object was created by igraph_vs_all() of igraph_vss_all(). Note that the vertex selector might contain all vertices in a given graph but if it wasn't created by the two constructors mentioned here the return value will be FALSE.

Arguments: 

vs:

Pointer to a vertex selector object.

Returns: 

TRUE (1) if the vertex selector contains all vertices and FALSE (1) otherwise.

Time complexity: O(1).