getType

inline suspend fun ClipboardItem.getType(type: String): Blob(source)

The getType() method of the ClipboardItem interface returns a Promise that resolves with a Blob of the requested MIME type or an error if the MIME type is not found.

MDN Reference