SDL_HasClipboardData3
Query whether there is data in the clipboard for the provided mime type.
Usage
#include "SDL3/SDL.h"
bool SDL_HasClipboardData(const char *mime_type);
Header file
Defined in SDL3/SDL_clipboard.h
Function parameters
- mime_type
-
the mime type to check for data for.
Return value
Returns true if there exists data in clipboard for the provided mime type, false if it does not.
Thread safety
This function should only be called on the main thread.