SDK
API Documentation
asset-core
namespaces
AssetCore
functions
Isassetviewable

Function: isAssetViewable()

isAssetViewable(asset): asset is AssetViewable

Checks if the assets is completed and processed to a state where there is something that can be viewed/rendered. Will always be false for generic file uploads. Narrow it down to the AssetViewable type.

Parameters

ParameterType
assetAsset

Returns

asset is AssetViewable

Defined in

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