mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 12:47:35 +00:00
AK: Add FlyString::is_null()
This commit is contained in:
parent
f42f300ba3
commit
404de10a15
1 changed files with 2 additions and 0 deletions
|
@ -37,6 +37,8 @@ public:
|
||||||
FlyString(const StringView&);
|
FlyString(const StringView&);
|
||||||
FlyString(const char*);
|
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; }
|
||||||
bool operator!=(const FlyString& other) const { return m_impl != other.m_impl; }
|
bool operator!=(const FlyString& other) const { return m_impl != other.m_impl; }
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue