Asset.prototype.type

The media type of the asset.

Syntax

type

Examples

Asset("data.json").type
"application/json"