diff options
Diffstat (limited to 'node')
-rw-r--r-- | node/Dictionary.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/node/Dictionary.hpp b/node/Dictionary.hpp index e212e453..4413d628 100644 --- a/node/Dictionary.hpp +++ b/node/Dictionary.hpp @@ -99,6 +99,8 @@ public: return *this; } + inline operator bool() const { return (_d[0] != 0); } + /** * Load a dictionary from a C-string * |