Returns the set of possible values after applying the `is false` test on all values in this set. The resulting set can only contain 'TRUE' and/or 'FALSE', never 'UNKNOWN'.
(&self)
| 1897 | /// values in this set. |
| 1898 | /// The resulting set can only contain 'TRUE' and/or 'FALSE', never 'UNKNOWN'. |
| 1899 | pub fn is_false(&self) -> Result<Self> { |
| 1900 | let (t, f, u) = self.is_true_false_unknown()?; |
| 1901 | |
| 1902 | match (t, f, u) { |
| 1903 | (false, true, false) => Ok(Self::TRUE), |
| 1904 | (_, true, _) => Ok(Self::TRUE_OR_FALSE), |
| 1905 | (_, false, _) => Ok(Self::FALSE), |
| 1906 | } |
| 1907 | } |
| 1908 | |
| 1909 | /// Return true if the value is definitely null (and not true or false). |
| 1910 | pub fn is_certainly_unknown(&self) -> bool { |