Optional
The supports() static method of the ClipboardItem interface returns true if the given MIME type is supported by the clipboard, and false otherwise.
supports()
MDN Reference
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