* @brief Compares if the first String object is less than the second. * * This function compares two String objects to determine if the first one is lexicographically less than the second. * * @param str1 The first String object. Must not be NULL. * @param str2 The second String object. Must not be NULL. * * @return true if str1 is less than str2, false otherwise. */
| 636 | * @return true if str1 is less than str2, false otherwise. |
| 637 | */ |
| 638 | bool string_is_less(const String* str1, const String* str2) { |
| 639 | STRING_LOG("[string_is_less]: Checking if the first string is less than the second.\n"); |
| 640 | return string_compare(str1, str2) < 0; |
| 641 | } |
| 642 | |
| 643 | |
| 644 | /** |
nothing calls this directly
no test coverage detected