A logical operator manipulates boolean values (values that can be truth or falsehood). Since NWScript does not have a boolean data type, the values are actually integers, interpreted as boolean values (zero is considered falsehood, while non-zero is considered truth), with the special constants TRUE and FALSE representing canonical values for truth and falsehood. The logical operators in NWScript are &&, ||, and !. These are most often seen in conditionals but are also used when assigning or returning a (logically) boolean value.
| Graph IRI | Count |
|---|---|
| http://dbkwik.webdatacommons.org | 4 |