diff options
Diffstat (limited to 'src/value.h')
-rw-r--r-- | src/value.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/value.h b/src/value.h index bd681b07..db45e593 100644 --- a/src/value.h +++ b/src/value.h @@ -870,6 +870,10 @@ public: return 1; } + bool empty() const { + return size() == 0; + } + /** * Informational methods. */ |