MCPcopy Create free account
hub / github.com/Pagghiu/SaneCppLibraries / isEmpty

Method isEmpty

Libraries/Strings/StringView.h:127–127  ·  view source on GitHub ↗

@brief Check if StringView is empty @return `true` if string is empty

Source from the content-addressed store, hash-verified

125 /// @brief Check if StringView is empty
126 /// @return `true` if string is empty
127 [[nodiscard]] constexpr bool isEmpty() const { return text == nullptr or textSizeInBytes == 0; }
128
129 /// @brief Check if StringView is immediately followed by a null termination character
130 /// @return `true` if StringView is immediately followed by a null termination character

Callers 2

parsePositionMethod · 0.45
appendMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected