public function EasyRdf_Sparql_Result::getBoolean

Return the boolean value of the query result

If the query was of type boolean then this method will return either true or false. If the query was of some other type then this method will return null.

Return value

boolean The result of the query.

File

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

Class

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

Code

public function getBoolean() {
  return $this->boolean;
}