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 allowed values of format are as described for clipboard.
CAPI User Guide and Reference Manual (Windows version) - 25 Feb 2015