Query whether the primary selection exists and contains a non-empty text string.
Defined in SDL_clipboard.h
void); SDL_bool SDL_HasPrimarySelectionText(
(SDL_bool) Returns SDL_TRUE if the primary selection has text, or SDL_FALSE if it does not.
This function is available since SDL 2.26.0.