SDK
API Documentation
asset-core
namespaces
AssetCore
functions
Isassetoriginaldownloadable

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

ParameterType
assetAsset

Returns

asset is AssetProcessIncomplete | AssetProcessFailed | AssetComplete

Defined in

types.ts:346 (opens in a new tab)