Function hasClipboard

Wraps SDL_HasClipboardText which checks whether the clipboard exists and contains a non-empty text string

bool hasClipboard() @trusted;

Returns

true if it exists and contains a non-empty string, otherwise false