Skip to main content

ToDataSourceTypeNumber(dashboardType) Function

Converts a data source type to the enumeration value’s numerical number.

Declaration

export function ToDataSourceTypeNumber(dashboardType: DashboardDataSourceType): number

Parameters

Name Type Description
dashboardType DashboardDataSourceType

A data source type used in a dashboard.

Returns

Type Description
number

A number that identifies a data source type.