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
Parameter | Type |
---|---|
asset | Asset |
Returns
asset is AssetViewable