Skip to main content
Version: Next

Function: isClassicPointCloudModel()

isClassicPointCloudModel(model): model is CognitePointCloudModel<ClassicDataSourceType>

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.

Defined in

packages/pointclouds/src/typeGuards.ts:29