Function: isClassicPointCloudVolume()
isClassicPointCloudVolume(
pointCloudMetadata
):pointCloudMetadata is { annotationId: number; assetRef?: AnnotationsAssetRef }
Defined in: packages/data-providers/src/utilities/utils.ts:53
Type guard to check if the point cloud metadata is of type ClassicDataSourceType
Parameters
pointCloudMetadata
The metadata object to check
{ assetRef?
: DMInstanceRef
; volumeInstanceRef
: DMInstanceRef
; } | { annotationId
: number
; assetRef?
: AnnotationsAssetRef
; }
Returns
pointCloudMetadata is { annotationId: number; assetRef?: AnnotationsAssetRef }
True if the object is of type PointCloudObjectMetadata<ClassicDataSourceType>
, false otherwise