You are here

public function EasyRdf_Sparql_Result::isTrue in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/easyrdf/easyrdf/lib/EasyRdf/Sparql/Result.php \EasyRdf_Sparql_Result::isTrue()

Return true if the result of the query was true.

Return value

boolean True if the query result was true.

File

vendor/easyrdf/easyrdf/lib/EasyRdf/Sparql/Result.php, line 108

Class

EasyRdf_Sparql_Result
Class for returned for SPARQL SELECT and ASK query responses.

Code

public function isTrue() {
  return $this->boolean == true;
}