public function 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

drupal/core/vendor/easyrdf/easyrdf/lib/EasyRdf/Sparql/Result.php, line 109

Class

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

Code

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