summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--AK/FlyString.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/AK/FlyString.h b/AK/FlyString.h
index b494bd801c..6dc9391c32 100644
--- a/AK/FlyString.h
+++ b/AK/FlyString.h
@@ -37,6 +37,8 @@ public:
FlyString(const StringView&);
FlyString(const char*);
+ bool is_null() const { return !m_impl; }
+
bool operator==(const FlyString& other) const { return m_impl == other.m_impl; }
bool operator!=(const FlyString& other) const { return m_impl != other.m_impl; }