IsEmpty()
TestTools::IsEmpty(const System::String&) method
Checks if string is empty.
static bool System::TestTools::IsEmpty(const System::String &str)
Arguments
Parameter | Type | Description |
---|---|---|
str | const System::String& | String to check for being empty. |
Return Value
True if string is empty (null-length), false otherwise.
TestTools::IsEmpty(const SharedPtr<T>&) method
Checks if collection is empty.
template<typename T> static bool System::TestTools::IsEmpty(const SharedPtr<T> &collection)
Template parameters
Parameter | Description |
---|---|
T | Collection type. |
Arguments
Parameter | Type | Description |
---|---|---|
collection | const SharedPtr<T>& | Collection to check. |
Return Value
True if collection has zero element count, false otherwise.
See Also
- Typedef SharedPtr
- Class String
- Struct TestTools
- Namespace System
- Library Aspose.Slides