public function EasyRdf_Graph::isEmpty

Check if the graph contains any statements

Return value

boolean True if the graph contains no statements

File

drupal/core/vendor/easyrdf/easyrdf/lib/EasyRdf/Graph.php, line 1157

Class

EasyRdf_Graph
Container for collection of EasyRdf_Resources.

Code

public function isEmpty() {
  return count($this->index) == 0;
}