func HasClipboardText() bool { has := C.SDL_HasClipboardText() return int(has) != 0 }
// HasClipboardText returns true if the clipboard exists and contains a // non-empty text string. // // Note: A Window must be created before calling this function. func HasClipboardText() bool { if C.SDL_HasClipboardText() == C.SDL_TRUE { return true } return false }
// HasClipboardText (https://wiki.libsdl.org/SDL_HasClipboardText) func HasClipboardText() bool { return C.SDL_HasClipboardText() > 0 }
func HasClipboardText() bool { return C.SDL_HasClipboardText() == C.SDL_TRUE }