* Checks if a string view contains a given character. */
| 203 | * Checks if a string view contains a given character. |
| 204 | */ |
| 205 | inline static bool |
| 206 | StringViewContains(const StringView *source, char character) |
| 207 | { |
| 208 | return source != NULL && source->length > 0 && memchr(source->string, character, |
| 209 | source->length) != NULL; |
| 210 | } |
| 211 | |
| 212 | |
| 213 | inline static Datum |
no outgoing calls
no test coverage detected