We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
arduino
Learn more about funding links in repositories.
Report abuse
There was an error while loading. Please reload this page.
1 parent 65633ce commit cb3ab4cCopy full SHA for cb3ab4c
api/String.h
@@ -89,6 +89,7 @@ class String
89
// invalid string (i.e., "if (s)" will be true afterwards)
90
bool reserve(unsigned int size);
91
inline unsigned int length(void) const {return len;}
92
+ inline bool isEmpty(void) const { return length() == 0; }
93
94
// creates a copy of the assigned value. if the value is null or
95
// invalid, or if the memory allocation fails, the string will be
0 commit comments