AK: Add StringBuilder::is_empty()

This commit is contained in:
Shannon Booth 2020-02-15 10:17:17 +13:00 committed by Andreas Kling
parent 854f0b9e1a
commit ba9313111f
Notes: sideshowbarker 2024-07-19 09:09:31 +09:00

View file

@ -53,6 +53,7 @@ public:
void clear();
size_t length() const { return m_length; }
bool is_empty() const { return m_length == 0; }
void trim(size_t count) { m_length -= count; }
private: