AK: Add FlyString::is_null()

This commit is contained in:
Andreas Kling 2020-03-24 14:03:42 +01:00
parent f42f300ba3
commit 404de10a15
Notes: sideshowbarker 2024-07-19 08:10:03 +09:00

View file

@ -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; }