Home > @magiclane/maps-sdk > DataSource > isMockData

DataSource.isMockData() method

Check if mock data is enabled for the given type

Signature:

isMockData(type: DataType): boolean;

Parameters

Parameter

Type

Description

type

DataType

Type of the data

Returns:

boolean

True if the data is mocked, false otherwise