Skip to content

cf_clipboard_has_data

Category: input
GitHub: cute_clipboard.h


Checks if the clipboard contains data for the given MIME type.

bool cf_clipboard_has_data(const char* mime_type);
Parameters Description
mime_type The MIME type to check (e.g. "image/png").

Return Value

Returns true if the clipboard has data for the MIME type.

cf_clipboard_set_data
cf_clipboard_get_data