Function: isAssetOriginalDownloadable()
isAssetOriginalDownloadable(
asset
): asset is AssetProcessIncomplete | AssetProcessFailed | AssetComplete
Checks if the assets original file is downloadable. Narrow it down to the AssetComplete, AssetProcessIncomplete or AssetProcessFailed type.
Parameters
Parameter | Type |
---|---|
asset | Asset |
Returns
asset is AssetProcessIncomplete | AssetProcessFailed | AssetComplete