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
Parameter | Type |
---|---|
asset | Asset |
Returns
asset is AssetProcessIncomplete | AssetProcessFailed | AssetComplete