mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
7 lines
204 B
TypeScript
7 lines
204 B
TypeScript
|
import { LocalPlugin } from './types';
|
||
|
|
||
|
export function isLocalPlugin(plugin: any): plugin is LocalPlugin {
|
||
|
// super naive way of figuring out if this is a local plugin
|
||
|
return 'category' in plugin;
|
||
|
}
|