The function
clipboard-empty
returns
nil
if there is an object of the kind indicated by
format
on the clipboard, or
t
otherwise.
format controls what kind of object is checked. The following values of format are recognized:
The object is a string. This the default value.
The object is of type image, converted from whatever format the platform supports.
The object is the Lisp value.