mirror of
https://github.com/grafana/grafana.git
synced 2025-02-14 09:33:34 -06:00
7 lines
248 B
TypeScript
7 lines
248 B
TypeScript
|
import { PanelModel } from '../dashboard/state';
|
||
|
import { PanelModelWithLibraryPanel } from './types';
|
||
|
|
||
|
export function isPanelModelLibraryPanel(panel: PanelModel): panel is PanelModelWithLibraryPanel {
|
||
|
return Boolean(panel.libraryPanel?.uid);
|
||
|
}
|