type

external val type: String(source)

The type read-only property of the Blob interface returns the MIME type of the file.

MDN Reference