Function SDL_HasClipboardData
pub unsafe extern "C" fn SDL_HasClipboardData(
mime_type: *const i8,
) -> bool
Available on crate feature
dep_sdl3
only.Expand description
Query whether there is data in the clipboard for the provided mime type.
§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.
§Availability
This function is available since SDL 3.2.0.