Function: isDMPointCloudModel()
isDMPointCloudModel(
model
):model is CognitePointCloudModel<DMDataSourceType>
Defined in: packages/pointclouds/src/typeGuards.ts:18
Type guard to check if a point cloud model is DMDataSourceType type.
Parameters
model
CognitePointCloudModel
<DataSourceType
>
The object to check.
Returns
model is CognitePointCloudModel<DMDataSourceType>
True if the object is of type CognitePointCloudModel<DMDataSourceType>
, false otherwise.