SDK
API Documentation
asset-core
namespaces
AssetCore
functions
Isassetartifactdownloadable

Function: isAssetArtifactDownloadable()

isAssetArtifactDownloadable(asset): asset is AssetProcessIncomplete | AssetProcessFailed | AssetComplete

Checks if at least one of the assets artifacts 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:364 (opens in a new tab)