Skip to main content
Version: Next

Function: isClassicPointCloudModel()

isClassicPointCloudModel(model): model is CognitePointCloudModel<ClassicDataSourceType>

Defined in: packages/pointclouds/src/typeGuards.ts:29

Type guard to check if a point cloud model is ClassicDataSourceType type.

Parameters

model

CognitePointCloudModel<DataSourceType>

The object to check.

Returns

model is CognitePointCloudModel<ClassicDataSourceType>

True if the object is of type CognitePointCloudModel<ClassicDataSourceType>, false otherwise.