8 lines
260 B
TypeScript
8 lines
260 B
TypeScript
import { PanelModel } from '../dashboard/state/PanelModel';
|
|
|
|
import { PanelModelWithLibraryPanel } from './types';
|
|
|
|
export function isPanelModelLibraryPanel(panel: PanelModel): panel is PanelModelWithLibraryPanel {
|
|
return Boolean(panel.libraryPanel?.uid);
|
|
}
|