types

The DataTransfer.types read-only property returns the available types that exist in the items.

MDN Reference