public function EasyRdf_Literal_Boolean::isFalse in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/easyrdf/easyrdf/lib/EasyRdf/Literal/Boolean.php \EasyRdf_Literal_Boolean::isFalse()
Return true if the value of the literal is 'false' or '0'
Return value
bool
File
- vendor/
easyrdf/ easyrdf/ lib/ EasyRdf/ Literal/ Boolean.php, line 89
Class
- EasyRdf_Literal_Boolean
- Class that represents an RDF Literal of datatype xsd:boolean
Code
public function isFalse() {
return strtolower($this->value) === 'false' or $this->value === '0';
}