Home > @magiclane/maps-sdk > LogMetadata > isDataTypeAvailable

LogMetadata.isDataTypeAvailable() method

Checks whether a given data type exists in the log.

Signature:

isDataTypeAvailable(type: DataType): boolean;

Parameters

Parameter

Type

Description

type

DataType

The DataType to check for availability in the recorded log.

Returns:

boolean

true if the data type is present in the log, otherwise false.