grafana/public/app/core/utils/isFrontendService.ts

10 lines
208 B
TypeScript
Raw Normal View History

import { config } from '@grafana/runtime';
/**
* Returns true if the current instance is using the frontend-service.
* @internal
*/
export function isFrontendService() {
return config.bootData._femt;
}