mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 00:27:45 +00:00
AK: Add StringBuilder::is_empty()
This commit is contained in:
parent
854f0b9e1a
commit
ba9313111f
1 changed files with 1 additions and 0 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue