D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
proc
/
self
/
root
/
usr
/
share
/
grafana
/
public
/
app
/
plugins
/
datasource
/
elasticsearch
/
Filename :
guards.ts
back
Copy
import { ExtendedStats, MetricAggregation } from './dataquery.gen'; export function isMetricAggregationWithMeta(metric: MetricAggregation): metric is ExtendedStats { if (!metric || typeof metric !== 'object') { return false; } return 'meta' in metric; }