public function EasyRdf_Graph::isEmpty in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/easyrdf/easyrdf/lib/EasyRdf/Graph.php \EasyRdf_Graph::isEmpty()
Check if the graph contains any statements
Return value
boolean True if the graph contains no statements
File
- vendor/
easyrdf/ easyrdf/ lib/ EasyRdf/ Graph.php, line 1181
Class
- EasyRdf_Graph
- Container for collection of EasyRdf_Resources.
Code
public function isEmpty() {
return count($this->index) == 0;
}