SDK
API Documentation
asset-core
namespaces
AssetCore
functions
Isassetuploadincomplete

Function: isAssetUploadIncomplete()

isAssetUploadIncomplete(asset): asset is AssetUploadIncomplete

Checks if the asset is an incomplete upload. This state can have two reasons:

  1. The asset upload got interrupted so the asset is still created but not fully uploaded.
  2. The asset is uploaded by a different user/process and the local upload information is not available.

Narrows it down to the AssetUploadIncomplete type.

Parameters

ParameterType
assetAsset

Returns

asset is AssetUploadIncomplete

Defined in

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