@highcharts/dashboards
Version:
Highcharts Dashboards framework
28 lines (27 loc) • 579 B
JavaScript
/* *
*
* (c) 2009-2026 Highsoft AS
*
* Integration of this software requires a license.
* - For commercial use, see www.highcharts.com/license
* - For non-commercial, see www.highcharts.com/license-eula
* */
;
/* *
*
* Functions
*
* */
/**
* Returns whether the provider exposes `getDataTable`.
*
* @param provider
* Data provider instance to test.
*
* @returns
* `true` when provider exposes `getDataTable`.
*/
export function hasDataTableProvider(provider) {
return !!(provider &&
typeof provider.getDataTable === 'function');
}