* @brief Compares two String objects for equality. * * This function compares two String objects to check if they are equal. * It returns true if the strings are equal, otherwise false. * * @param str1 The first String object. Must not be NULL. * @param str2 The second String object. Must not be NULL. * * @return true if the strings are equal, false otherwise. */
| 620 | * @return true if the strings are equal, false otherwise. |
| 621 | */ |
| 622 | bool string_is_equal(const String* str1, const String* str2) { |
| 623 | STRING_LOG("[string_is_equal]: Checking if two strings are equal.\n"); |
| 624 | return string_compare(str1, str2) == 0; |
| 625 | } |
| 626 | |
| 627 | |
| 628 | /** |
nothing calls this directly
no test coverage detected