supports

external fun supports(type: String): Boolean(source)

The supports() static method of the ClipboardItem interface returns true if the given MIME type is supported by the clipboard, and false otherwise.

MDN Reference