mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-24 16:40:21 +00:00
AK: Add FlyString::is_null()
This commit is contained in:
parent
f42f300ba3
commit
404de10a15
Notes:
sideshowbarker
2024-07-19 08:10:03 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/404de10a151
1 changed files with 2 additions and 0 deletions
|
@ -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; }
|
||||
|
||||
|
|
Loading…
Reference in a new issue