diff options
Diffstat (limited to 'src/util/result.h')
-rw-r--r-- | src/util/result.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/util/result.h b/src/util/result.h index fc2fa4522..62ddc74d0 100644 --- a/src/util/result.h +++ b/src/util/result.h @@ -122,6 +122,9 @@ public: bool isUnknown() const { return isSat() == SAT_UNKNOWN && isValid() == VALIDITY_UNKNOWN; } + bool isNull() const { + return d_which == TYPE_NONE; + } enum UnknownExplanation whyUnknown() const { AlwaysAssert( isUnknown(), "This result is not unknown, so the reason for " |